summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilecell.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-08-28 02:12:48 -0400
committerNeil Moore <neil@s-z.org>2012-08-28 02:13:04 -0400
commitbac017f56f09047f428b7b566a00a8149bbe9034 (patch)
treec5fee64b74dd5b5d69e386493679390f9d540d60 /crawl-ref/source/tilecell.cc
parent3df748079cab1b58787f6a1daa849f89ef5fff45 (diff)
downloadcrawl-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.cc5
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)