summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-06 20:01:13 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-06 20:01:13 +0100
commit6df1f8df4d0b9dcd691685db86354a17da861a61 (patch)
tree240fead71fa55b7d901209226bd5d1e1649d1297 /crawl-ref/source/tilepick.cc
parente3e05b162240e9d39e0360541d807f092ce0688b (diff)
downloadcrawl-ref-6df1f8df4d0b9dcd691685db86354a17da861a61.tar.gz
crawl-ref-6df1f8df4d0b9dcd691685db86354a17da861a61.zip
Distinguish icons of neutral and good neutral monsters.
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index 6d276af1ed..0f7ed79bbd 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -1139,6 +1139,8 @@ int tileidx_monster(const monsters *mons, bool detected)
if (mons->friendly())
ch |= TILE_FLAG_PET;
+ else if (mons->good_neutral())
+ ch |= TILE_FLAG_GD_NEUTRAL;
else if (mons->neutral())
ch |= TILE_FLAG_NEUTRAL;
else if (mons_looks_stabbable(mons))