missing MAXMDIM guard

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:09 +02:00
parent 31c99e486f
commit 1d7892ff80
+2
View File
@@ -497,8 +497,10 @@ void check_cgi() {
floor_textures = NULL; floor_textures = NULL;
} }
#if MAXMDIM >= 4
if(!floor_textures && DIM == 3 && (cgi.state & 2)) if(!floor_textures && DIM == 3 && (cgi.state & 2))
make_floor_textures(); make_floor_textures();
#endif
} }