summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-17 13:40:53 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-17 14:25:30 +0530
commit2d9a94641dedf07c0d0b66363de26bd664af5e55 (patch)
tree590a8d8ec061d844b4fb54acb2fa9d982cc5b8e5 /crawl-ref
parent0ac7928587d000be304f3b7378c2b22b4cf6d660 (diff)
downloadcrawl-ref-2d9a94641dedf07c0d0b66363de26bd664af5e55.tar.gz
crawl-ref-2d9a94641dedf07c0d0b66363de26bd664af5e55.zip
Set build method and layout type for swamp builder.
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/dgn-swamp.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/dgn-swamp.cc b/crawl-ref/source/dgn-swamp.cc
index de71736312..12079b9eec 100644
--- a/crawl-ref/source/dgn-swamp.cc
+++ b/crawl-ref/source/dgn-swamp.cc
@@ -58,6 +58,9 @@ static void _swamp_apply_features(int margin)
void dgn_build_swamp_level(int level)
{
+ dgn_Build_Method += " swamp";
+ dgn_Layout_Type = "swamp";
+
const int swamp_depth = level_id::current().depth - 1;
dgn_initialise_heightmap(-17);
_swamp_slushy_patches(swamp_depth * 3);