summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stairs.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-20 20:28:22 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-20 20:28:22 +0100
commita976ef1a132d0d8aff6fbaa49fff081706ed95ca (patch)
tree26042f878adc23f37228864a440da1b06797890b /crawl-ref/source/stairs.cc
parentad36ceb063ee2cb58638d68a587c8acf79d7d3a8 (diff)
downloadcrawl-ref-a976ef1a132d0d8aff6fbaa49fff081706ed95ca.tar.gz
crawl-ref-a976ef1a132d0d8aff6fbaa49fff081706ed95ca.zip
Move the rune lock to Vaults rather than Depths.
I can't quite fathom the reason to not moving it to /dev/null instead, but here you go.
Diffstat (limited to 'crawl-ref/source/stairs.cc')
-rw-r--r--crawl-ref/source/stairs.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/stairs.cc b/crawl-ref/source/stairs.cc
index 6423504bad..a253e78619 100644
--- a/crawl-ref/source/stairs.cc
+++ b/crawl-ref/source/stairs.cc
@@ -720,8 +720,8 @@ void down_stairs(dungeon_feature_type force_stair, bool force_known_shaft)
_maybe_destroy_trap(you.pos());
}
- if (stair_find == DNGN_ENTER_DEPTHS
- && !is_existing_level(level_id(BRANCH_DEPTHS, 1)))
+ if (stair_find == DNGN_ENTER_VAULTS
+ && !is_existing_level(level_id(BRANCH_VAULTS, 1)))
{
bool has_rune = false;
int i = 0;