diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-05 23:12:29 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-05 23:14:16 +0100 |
commit | ff3ae3e07d48e0fa0898ca0a83510bcfa117e920 (patch) | |
tree | fb8d9bcbd97c01981c8c7dc357b8e103c31b5564 /crawl-ref/source/stairs.cc | |
parent | d67975441494dc54bb16b93f555ced36784074e1 (diff) | |
download | crawl-ref-ff3ae3e07d48e0fa0898ca0a83510bcfa117e920.tar.gz crawl-ref-ff3ae3e07d48e0fa0898ca0a83510bcfa117e920.zip |
More runelock shaft clean-up.
Diffstat (limited to 'crawl-ref/source/stairs.cc')
-rw-r--r-- | crawl-ref/source/stairs.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/crawl-ref/source/stairs.cc b/crawl-ref/source/stairs.cc index 5336c79578..6faa52aad1 100644 --- a/crawl-ref/source/stairs.cc +++ b/crawl-ref/source/stairs.cc @@ -351,25 +351,6 @@ void up_stairs(dungeon_feature_type force_stair) return down_stairs(force_stair); } - if (player_in_branch(BRANCH_DUNGEON) - && you.depth == RUNE_LOCK_DEPTH + 1 - && (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++) - if (you.runes[i]) - { - has_rune = true; - break; - } - - if (!has_rune) - { - mpr("You need a rune to go back up."); - return; - } - } - // Only check the current position for a legal stair traverse. if (!force_stair && !_check_stairs(stair_find)) return; |