summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-27 20:40:05 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-27 20:40:05 +0100
commit3d40a67ac3ab0c88281c527abbf5e0d8fad57e95 (patch)
tree4398f8b01bfcb68ae28496a29bd93f328de07def /crawl-ref/source/dungeon.cc
parent43ecefb893fbcaf68ba39807507d0dffdfd659d4 (diff)
downloadcrawl-ref-3d40a67ac3ab0c88281c527abbf5e0d8fad57e95.tar.gz
crawl-ref-3d40a67ac3ab0c88281c527abbf5e0d8fad57e95.zip
Remove redundant 1-level branch check.
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc15
1 files changed, 1 insertions, 14 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 153091bbf6..3a7c88010f 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -1228,20 +1228,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 && at_branch_bottom())
- {
- for (rectangle_iterator ri(1); ri; ++ri)
- {
- if (grd(*ri) >= DNGN_STONE_STAIRS_DOWN_I
- && grd(*ri) <= DNGN_ESCAPE_HATCH_UP)
- {
- grd(*ri) = DNGN_FLOOR;
- }
- }
- }
- else if (at_branch_bottom() && you.level_type == LEVEL_DUNGEON)
+ if (at_branch_bottom() && you.level_type == LEVEL_DUNGEON)
{
// Bottom level of branch - wipes out down stairs.
for (rectangle_iterator ri(1); ri; ++ri)