1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-09 18:23:00 +00:00

2d3d:: missing guards

This commit is contained in:
Zeno Rogue
2019-05-10 03:16:40 +02:00
parent 70cd6c0669
commit d07e6eb386
3 changed files with 26 additions and 2 deletions

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;
};
});