diff options
author | Neil Moore <neil@s-z.org> | 2012-08-28 02:12:48 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-08-28 02:13:04 -0400 |
commit | bac017f56f09047f428b7b566a00a8149bbe9034 (patch) | |
tree | c5fee64b74dd5b5d69e386493679390f9d540d60 /crawl-ref/source/tilecell.cc | |
parent | 3df748079cab1b58787f6a1daa849f89ef5fff45 (diff) | |
download | crawl-ref-bac017f56f09047f428b7b566a00a8149bbe9034.tar.gz crawl-ref-bac017f56f09047f428b7b566a00a8149bbe9034.zip |
Don't draw wall shadows around mangroves.
Not sure why, but this was only noticeable on webtiles.
Diffstat (limited to 'crawl-ref/source/tilecell.cc')
-rw-r--r-- | crawl-ref/source/tilecell.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/tilecell.cc b/crawl-ref/source/tilecell.cc index 9c8586daca..0434d78754 100644 --- a/crawl-ref/source/tilecell.cc +++ b/crawl-ref/source/tilecell.cc @@ -397,8 +397,9 @@ static void _pack_default_waves(const coord_def &gc, packed_cell *cell) static bool _is_seen_wall(coord_def gc) { - dungeon_feature_type feat = _safe_feat(gc); - return (feat != DNGN_UNSEEN && feat <= DNGN_MAXWALL); + const dungeon_feature_type feat = _safe_feat(gc); + return (feat != DNGN_UNSEEN && feat <= DNGN_MAXWALL + && feat != DNGN_MANGROVE); } static void _pack_wall_shadows(const coord_def &gc, packed_cell *cell) |