missing MAXMDIM guard

This commit is contained in:
Zeno Rogue 2019-07-12 23:17:00 +02:00
parent 31c99e486f
commit 1d7892ff80
1 changed files with 2 additions and 0 deletions

View File

@ -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
}