summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-01-10 18:50:02 -0600
committerJesse Luehrs <doy@tozt.net>2010-01-10 18:50:24 -0600
commitf0872643a9e8cba0f0182d61108cac2ecb4832b9 (patch)
treec02bb845aaf42f476a40aaf44ed3d991d5ddc2ce /crawl-ref/source/dungeon.cc
parent63a5074a966506be65fd85d3ca898cc68910432f (diff)
downloadcrawl-ref-f0872643a9e8cba0f0182d61108cac2ecb4832b9.tar.gz
crawl-ref-f0872643a9e8cba0f0182d61108cac2ecb4832b9.zip
don't ruin special room walls
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 5fe32e6f06..fdf91dd06b 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -1834,12 +1834,6 @@ static void _build_dungeon_level(int level_number, int level_type)
if (!player_in_branch(BRANCH_DIS) && !player_in_branch(BRANCH_VAULTS))
_hide_doors();
- // Change pre-rock to rock, and pre-floor to floor.
- dgn_replace_area(0, 0, GXM-1, GYM-1, DNGN_BUILDER_SPECIAL_WALL,
- DNGN_ROCK_WALL);
- dgn_replace_area(0, 0, GXM-1, GYM-1, DNGN_BUILDER_SPECIAL_FLOOR,
- DNGN_FLOOR);
-
if (player_in_branch(BRANCH_LAIR))
{
int depth = player_branch_depth() + 1;
@@ -1850,6 +1844,12 @@ static void _build_dungeon_level(int level_number, int level_type)
} while (depth > 0);
}
+ // Change pre-rock to rock, and pre-floor to floor.
+ dgn_replace_area(0, 0, GXM-1, GYM-1, DNGN_BUILDER_SPECIAL_WALL,
+ DNGN_ROCK_WALL);
+ dgn_replace_area(0, 0, GXM-1, GYM-1, DNGN_BUILDER_SPECIAL_FLOOR,
+ DNGN_FLOOR);
+
const unsigned nvaults = Level_Vaults.size();
// Any further vaults must make sure not to disrupt level layout.