summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.