From 1d7892ff808f3a458f368eb9eb435859e8bc35ec Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 12 Jul 2019 23:17:00 +0200 Subject: [PATCH] missing MAXMDIM guard --- geometry.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geometry.cpp b/geometry.cpp index a8288830..78e01363 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -497,8 +497,10 @@ void check_cgi() { floor_textures = NULL; } + #if MAXMDIM >= 4 if(!floor_textures && DIM == 3 && (cgi.state & 2)) make_floor_textures(); + #endif }