diff options
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/enum.h | 1 | ||||
-rw-r--r-- | crawl-ref/source/monplace.cc | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 6006ae087d..7f773e82a7 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -932,6 +932,7 @@ enum dungeon_feature_type DNGN_EXIT_PANDEMONIUM, // 100 DNGN_TRANSIT_PANDEMONIUM, // 101 + // [enne] should the special_wall be placed between minwall/maxwall? DNGN_BUILDER_SPECIAL_WALL = 105, // 105; builder() only DNGN_BUILDER_SPECIAL_FLOOR, // 106; builder() only diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index 4c9af2a0ff..0b0eb47a38 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -64,7 +64,8 @@ bool grid_compatible(dungeon_feature_type grid_wanted, // device to slow down fiery monsters flying over water. if (grid_wanted == DNGN_FLOOR) { - return (actual_grid >= DNGN_FLOOR + return (actual_grid >= DNGN_FLOOR && + actual_grid != DNGN_BUILDER_SPECIAL_WALL || !generation && actual_grid == DNGN_SHALLOW_WATER); } |