summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-17 01:32:46 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-17 01:32:46 +0000
commitc7c59e9de853e51849b96910c06fd7a4bf8ea790 (patch)
treeba6a389a064ed2c2275a611e2a30d4daab63759c /crawl-ref/source/dungeon.cc
parent0d0e71a16332b45819be7afa7015786c37804361 (diff)
downloadcrawl-ref-c7c59e9de853e51849b96910c06fd7a4bf8ea790.tar.gz
crawl-ref-c7c59e9de853e51849b96910c06fd7a4bf8ea790.zip
Fix entry vaults being rejected if they don't contain all three stone stairs (David).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7455 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 93896d2fe6..708fdf1064 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -4652,12 +4652,8 @@ static bool _build_vaults(int level_number, int force_vault, int rune_subst,
stair_exist[sty] = 0;
}
- // Don't create any new up stairs on dungeon level 1.
- const bool no_up_stairs =
- level_id::current() == level_id(BRANCH_MAIN_DUNGEON, 1);
-
for (int j = 0; j < (coinflip()? 4 : 3); j++)
- for (int i = 0; i < (no_up_stairs ? 1 : 2); i++)
+ for (int i = 0; i < 2; i++)
{
const dungeon_feature_type stair
= static_cast<dungeon_feature_type>(