diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-27 12:28:17 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-27 12:28:17 +1000 |
commit | 359d6d7fe959bd89ee94cb03732e22408bdc7aff (patch) | |
tree | baa0ab7f2067d8967a943a73eea721d6522d5cce | |
parent | caa3c8aacc375d4b6caf03670bf216d624af9de4 (diff) | |
download | crawl-ref-359d6d7fe959bd89ee94cb03732e22408bdc7aff.tar.gz crawl-ref-359d6d7fe959bd89ee94cb03732e22408bdc7aff.zip |
Fix ugly things/butterflies going black while Misled.
-rw-r--r-- | crawl-ref/source/showsymb.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc index 50a6272d41..6f3c77fea6 100644 --- a/crawl-ref/source/showsymb.cc +++ b/crawl-ref/source/showsymb.cc @@ -60,6 +60,14 @@ static int _get_mons_colour(const monsters *mons) { const monsterentry* mdat = get_monster_data(mons->get_mislead_type()); col = mdat->colour; + // Some monsters (specifically, ugly things and butterflies) are generated + // black. Ugly things are an object of mislead, but never a subject; however + // if a monster summons ugly things (such as Kirke) while under the Misled + // status effect, they will show up black instead of their assigned colour. + // Likewise with any other black-coloured monsters on-screen but not yet + // mislead. {due} + if (col == BLACK) + col = mons->colour; } if (mons->berserk()) |