diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2013-10-31 22:41:10 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2013-10-31 22:41:10 +0000 |
commit | 3d3b05d51296325931866ee491d1ce3f0cae1953 (patch) | |
tree | c41da5f10c70e878bc3ad952b4586ca3537e7c0e /crawl-ref/source/stairs.cc | |
parent | 633cbe5847b6e82dda1b9a57291e93cf42a88d53 (diff) | |
download | crawl-ref-3d3b05d51296325931866ee491d1ce3f0cae1953.tar.gz crawl-ref-3d3b05d51296325931866ee491d1ce3f0cae1953.zip |
Allow entering portal vaults and being banished on D:14
Diffstat (limited to 'crawl-ref/source/stairs.cc')
-rw-r--r-- | crawl-ref/source/stairs.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/stairs.cc b/crawl-ref/source/stairs.cc index 17af17d27b..a0fde97683 100644 --- a/crawl-ref/source/stairs.cc +++ b/crawl-ref/source/stairs.cc @@ -714,7 +714,9 @@ void down_stairs(dungeon_feature_type force_stair) _maybe_destroy_trap(you.pos()); } - if (player_in_branch(BRANCH_MAIN_DUNGEON) && you.depth == RUNE_LOCK_DEPTH) + if (player_in_branch(BRANCH_MAIN_DUNGEON) + && you.depth == RUNE_LOCK_DEPTH + && feat_is_travelable_stair(stair_find)) { bool has_rune = false; for (int i = 0; i < NUM_RUNE_TYPES; i++) |