summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stairs.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2013-10-31 22:55:31 +0000
committerChris Campbell <chriscampbell89@gmail.com>2013-10-31 22:55:31 +0000
commitae8d2e55d5243bf6a222e11afa90fecadf558ebf (patch)
tree7489be19adf778b123539d8887c5c5536bd81ccb /crawl-ref/source/stairs.cc
parent3d3b05d51296325931866ee491d1ce3f0cae1953 (diff)
downloadcrawl-ref-ae8d2e55d5243bf6a222e11afa90fecadf558ebf.tar.gz
crawl-ref-ae8d2e55d5243bf6a222e11afa90fecadf558ebf.zip
Just check stone stairs/escape hatches on D:14
In case a branch entry or similar were to be added to D:14, for example.
Diffstat (limited to 'crawl-ref/source/stairs.cc')
-rw-r--r--crawl-ref/source/stairs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stairs.cc b/crawl-ref/source/stairs.cc
index a0fde97683..8032a8e3ab 100644
--- a/crawl-ref/source/stairs.cc
+++ b/crawl-ref/source/stairs.cc
@@ -716,7 +716,7 @@ void down_stairs(dungeon_feature_type force_stair)
if (player_in_branch(BRANCH_MAIN_DUNGEON)
&& you.depth == RUNE_LOCK_DEPTH
- && feat_is_travelable_stair(stair_find))
+ && (feat_is_stone_stair(stair_find) || feat_is_escape_hatch(stair_find)))
{
bool has_rune = false;
for (int i = 0; i < NUM_RUNE_TYPES; i++)