2d3d:: missing guards

This commit is contained in:
Zeno Rogue
2019-09-12 22:43:02 +02:00
parent 70cd6c0669
commit d07e6eb386
3 changed files with 26 additions and 2 deletions
+2
View File
@@ -1213,10 +1213,12 @@ void add_edit_wall_quality(char c) {
dialog::bound_low(1);
dialog::bound_up(128);
dialog::reaction = [] {
#if MAXMDIM >= 4
if(floor_textures) {
delete floor_textures;
floor_textures = NULL;
}
#endif
need_reset_geometry = true;
};
});