summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-swamp.cc
diff options
context:
space:
mode:
authorMichael Gagno <evilmike@gmail.com>2012-07-03 02:48:00 -0700
committerMichael Gagno <evilmike@gmail.com>2012-07-03 02:48:00 -0700
commita86d5194b1f9ece1c597e17a464f0f7d808d650b (patch)
tree9d46df6f091ebb304bcfb9087ec3e0cf130f05ff /crawl-ref/source/dgn-swamp.cc
parentab58638c90c94c31eec8fc93e979037c999ecf13 (diff)
downloadcrawl-ref-a86d5194b1f9ece1c597e17a464f0f7d808d650b.tar.gz
crawl-ref-a86d5194b1f9ece1c597e17a464f0f7d808d650b.zip
Rename swamp trees to mangroves.
Since these are opaque (and therefore behave differently from normal trees), a renaming is warranted.
Diffstat (limited to 'crawl-ref/source/dgn-swamp.cc')
-rw-r--r--crawl-ref/source/dgn-swamp.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/dgn-swamp.cc b/crawl-ref/source/dgn-swamp.cc
index 0894525319..a98a38e89d 100644
--- a/crawl-ref/source/dgn-swamp.cc
+++ b/crawl-ref/source/dgn-swamp.cc
@@ -36,7 +36,7 @@ static dungeon_feature_type _swamp_feature_for_height(int height)
height > 0 ? DNGN_SHALLOW_WATER :
height > -9 ? DNGN_FLOOR :
height > -10 ? DNGN_SHALLOW_WATER :
- DNGN_SWAMP_TREE;
+ DNGN_MANGROVE;
}
static void _swamp_apply_features(int margin)
@@ -49,7 +49,7 @@ static void _swamp_apply_features(int margin)
if (c.x < margin || c.y < margin || c.x >= GXM - margin
|| c.y >= GYM - margin)
{
- grd(c) = DNGN_SWAMP_TREE;
+ grd(c) = DNGN_MANGROVE;
}
else
grd(c) = _swamp_feature_for_height(dgn_height_at(c));
@@ -70,5 +70,5 @@ void dgn_build_swamp_level()
env.heightmap.reset(NULL);
dgn_place_stone_stairs();
- process_disconnected_zones(0, 0, GXM - 1, GYM - 1, true, DNGN_SWAMP_TREE);
+ process_disconnected_zones(0, 0, GXM - 1, GYM - 1, true, DNGN_MANGROVE);
}