summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-10 15:10:19 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-10 15:10:19 +0000
commit62e7bec9ea89d9f022992e1466b3467f186bda67 (patch)
treef46abd7884761fd5e22a5ad53a416c0e86fa0b26 /crawl-ref
parent5bea4d013197ca276fbeb267ac9fc3fd2f37450c (diff)
downloadcrawl-ref-62e7bec9ea89d9f022992e1466b3467f186bda67.tar.gz
crawl-ref-62e7bec9ea89d9f022992e1466b3467f186bda67.zip
Fixed missing upstairs in Hall of Blades (uru).
Corrected some minivault depths. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3243 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/dat/mini.des8
-rw-r--r--crawl-ref/source/dungeon.cc4
2 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/dat/mini.des b/crawl-ref/source/dat/mini.des
index 21aa8fc919..37e9a05c4d 100644
--- a/crawl-ref/source/dat/mini.des
+++ b/crawl-ref/source/dat/mini.des
@@ -1533,7 +1533,7 @@ ENDMAP
NAME: small_chamber_a
TAGS: mini_float allow_dup
-DEPTH: 4-27
+DEPTH: D:4-27
MAP
xxxxxxx
xx.....xx
@@ -1545,7 +1545,7 @@ ENDMAP
NAME: small_chamber_b
TAGS: mini_float allow_dup
-DEPTH: 8-27, Elf, Snake, Vault, Crypt
+DEPTH: D:8-27, Elf, Snake, Vault, Crypt
MAP
xxxxxxxxx
xxG...Gxx
@@ -1559,11 +1559,11 @@ ENDMAP
NAME: tiny_chamber_a
TAGS: mini_float allow_dup
-DEPTH: 2-27, Elf, Snake, Vault, Crypt
+DEPTH: D:2-27, Elf, Snake, Vault, Crypt
MAP
xxxxx
x...x
x.*.=
x...x
xxxxx
-ENDMAP \ No newline at end of file
+ENDMAP
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 566ba7f665..b3bfeb30ce 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -4114,8 +4114,8 @@ static bool build_vaults(int level_number, int force_vault, int rune_subst,
}
// Don't create any new up stairs on dungeon level 1.
- bool no_up_stairs = player_branch_depth() == 1 &&
- you.level_type == LEVEL_DUNGEON;
+ const bool no_up_stairs =
+ level_id::current() == level_id(BRANCH_MAIN_DUNGEON, 1);
for (int j = 0; j < (coinflip()? 4 : 3); j++)
{