From 040310eec49fb53bbac2b03d803a1ca79f045136 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 7 Feb 2021 22:52:37 +0100 Subject: [PATCH] yet one more CAP_VR guard --- raycaster.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/raycaster.cpp b/raycaster.cpp index 8c8eaa9d..f0b7af04 100644 --- a/raycaster.cpp +++ b/raycaster.cpp @@ -78,8 +78,10 @@ EX bool is_stepbased() { ld& maxstep_current() { if(sn::in() || stretch::in()) return maxstep_sol; + #if CAP_VR if(vrhr::active() && vrhr::eyes == vrhr::eEyes::equidistant) return maxstep_pro; + #endif return maxstep_nil; }