summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index ba1a5e941b..8f9fdc232d 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -358,7 +358,7 @@ int tileidx_monster_base(const monsters *mon, bool detected)
{
const int ugly_tile = (type == MONS_VERY_UGLY_THING) ?
TILEP_MONS_VERY_UGLY_THING : TILEP_MONS_UGLY_THING;
- int colour_offset = ugly_thing_colour_offset(mon);
+ int colour_offset = ugly_thing_colour_offset(mon->colour);
if (detected || colour_offset == -1)
colour_offset = 0;