summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-12 16:57:52 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-12 16:57:52 +0000
commit3088c557f65789b2252fbb444991949767111bbe (patch)
tree69d432f8d25a4f81c18e13c32b4b042f1ccadfc2 /crawl-ref/source/dungeon.cc
parentb7fbb8da9606f9a8e1ad11ffd734827cb9baf911 (diff)
downloadcrawl-ref-3088c557f65789b2252fbb444991949767111bbe.tar.gz
crawl-ref-3088c557f65789b2252fbb444991949767111bbe.zip
Fixing logic error so that D:1 can be created again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5764 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 5914db26f3..5cbd1778e2 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -904,7 +904,7 @@ static void _fixup_branch_stairs()
// Branches that consist of only 1 level (Hall of Blades).
// No down staircases, thanks!
- if (player_branch_depth() == 1)
+ if (player_branch_depth() == 1 && at_branch_bottom())
{
for (int x = 1; x < GXM; x++)
for (int y = 1; y < GYM; y++)