summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-swamp.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-03-09 23:57:15 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-03-09 23:57:15 +0100
commit573b2d8979baba787f40afc97fe227e5ef381888 (patch)
tree8f09e5c5cba3113a2b7d9a17a3f348506852b8cb /crawl-ref/source/dgn-swamp.cc
parent5d9cae2769c4f34e6d3a9022cb9e9ef8802ed25c (diff)
downloadcrawl-ref-573b2d8979baba787f40afc97fe227e5ef381888.tar.gz
crawl-ref-573b2d8979baba787f40afc97fe227e5ef381888.zip
Make the enums for trees use singular form, just like all other features.
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 84ad954b26..f63355f6ac 100644
--- a/crawl-ref/source/dgn-swamp.cc
+++ b/crawl-ref/source/dgn-swamp.cc
@@ -37,7 +37,7 @@ static dungeon_feature_type _swamp_feature_for_height(int height)
height > -9 ? DNGN_FLOOR :
height > -13 ? DNGN_SHALLOW_WATER :
height > -17 && coinflip() ? DNGN_SHALLOW_WATER :
- DNGN_TREES;
+ DNGN_TREE;
}
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_TREES;
+ grd(c) = DNGN_TREE;
else
grd(c) = _swamp_feature_for_height(dgn_height_at(c));
}
@@ -69,7 +69,7 @@ void dgn_build_swamp_level(int level)
env.heightmap.reset(NULL);
dgn_place_stone_stairs();
- process_disconnected_zones(0, 0, GXM - 1, GYM - 1, true, DNGN_TREES);
+ process_disconnected_zones(0, 0, GXM - 1, GYM - 1, true, DNGN_TREE);
}