summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 6b606f8923..d6de3741da 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -741,13 +741,13 @@ static void place_player_on_stair(branch_type old_branch,
stair_taken = DNGN_STONE_STAIRS_UP_I;
}
else if (stair_taken >= DNGN_STONE_STAIRS_DOWN_I
- && stair_taken <= DNGN_ROCK_STAIRS_DOWN)
+ && stair_taken <= DNGN_ESCAPE_HATCH_DOWN)
{
// look for coresponding up stair
stair_taken += (DNGN_STONE_STAIRS_UP_I - DNGN_STONE_STAIRS_DOWN_I);
}
else if (stair_taken >= DNGN_STONE_STAIRS_UP_I
- && stair_taken <= DNGN_ROCK_STAIRS_UP)
+ && stair_taken <= DNGN_ESCAPE_HATCH_UP)
{
// look for coresponding down stair
stair_taken += (DNGN_STONE_STAIRS_DOWN_I - DNGN_STONE_STAIRS_UP_I);
@@ -778,7 +778,7 @@ static void place_player_on_stair(branch_type old_branch,
}
else if (stair_taken == DNGN_EXIT_PORTAL_VAULT)
{
- stair_taken = DNGN_ROCK_STAIRS_DOWN;
+ stair_taken = DNGN_ESCAPE_HATCH_DOWN;
}
else if (stair_taken == DNGN_ENTER_LABYRINTH)
{