summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-shoals.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-10-15 13:52:24 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-11-04 18:49:49 +0100
commitc346361417241d0e4d7531ed65a1ca5b4f497139 (patch)
tree8c76c3b32dac858b2a36df7d032ff50e49545384 /crawl-ref/source/dgn-shoals.cc
parentf4a9aed257bbdd264fb1ef43e7b29b3cc599cd65 (diff)
downloadcrawl-ref-c346361417241d0e4d7531ed65a1ca5b4f497139.tar.gz
crawl-ref-c346361417241d0e4d7531ed65a1ca5b4f497139.zip
Get rid of level_type, unify BRANCH_*, LEVEL_* and portal vaults.
Diffstat (limited to 'crawl-ref/source/dgn-shoals.cc')
-rw-r--r--crawl-ref/source/dgn-shoals.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/dgn-shoals.cc b/crawl-ref/source/dgn-shoals.cc
index 4547ae05c6..a8e3d6ec70 100644
--- a/crawl-ref/source/dgn-shoals.cc
+++ b/crawl-ref/source/dgn-shoals.cc
@@ -691,8 +691,7 @@ void dgn_build_shoals_level(int level_number)
env.level_layout_types.insert("shoals");
const int shoals_depth = level_id::current().depth - 1;
- if (you.level_type != LEVEL_LABYRINTH && you.level_type != LEVEL_PORTAL_VAULT)
- dgn_replace_area(0, 0, GXM-1, GYM-1, DNGN_ROCK_WALL, DNGN_OPEN_SEA);
+ dgn_replace_area(0, 0, GXM-1, GYM-1, DNGN_ROCK_WALL, DNGN_OPEN_SEA);
_shoals_init_heights();
_shoals_init_islands(shoals_depth);
_shoals_cliffs();