From c3fdc34f7ca8d87265f22df47f5030e22072aac1 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 21 Mar 2020 19:05:17 +0100 Subject: [PATCH] fixed CAP_RAY guards --- floorshapes.cpp | 2 ++ graph.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/floorshapes.cpp b/floorshapes.cpp index 7b4fec86..d99b2815 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -1140,7 +1140,9 @@ void geometry_information::make_floor_textures_here() { gv.emplace_back(+1, +1, 1, 1, 1); gv.emplace_back(-1, +1, 1, 1, 1); + #if CAP_RAY dynamicval riu(ray::in_use, false); + #endif if(1) { current_display->next_shader_flags = GF_VARCOLOR; diff --git a/graph.cpp b/graph.cpp index f2c3fcff..e8c2eff0 100644 --- a/graph.cpp +++ b/graph.cpp @@ -4563,7 +4563,7 @@ EX void drawthemap() { for(int m=0; m= 4 + #if CAP_RAY ray::in_use = ray::requested(); #endif no_wall_rendering = ray::in_use;