summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-01-13 20:48:24 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-01-13 20:48:24 +0100
commitf6a7496a215d11ab5d72736aea2f3f74df84fb11 (patch)
tree2f25fdaca6cab67f4e45878ef86ad66bc25c8a1f
parent6b9548eb3df8a83b90f5d8ed6822b806719dd137 (diff)
downloadcrawl-ref-f6a7496a215d11ab5d72736aea2f3f74df84fb11.tar.gz
crawl-ref-f6a7496a215d11ab5d72736aea2f3f74df84fb11.zip
Don't mess with memory of slime creatures when in tiles.
-rw-r--r--crawl-ref/source/show.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/show.cc b/crawl-ref/source/show.cc
index 375d3f5cf2..ab8c102c63 100644
--- a/crawl-ref/source/show.cc
+++ b/crawl-ref/source/show.cc
@@ -368,8 +368,10 @@ void show_def::_update_monster(const monsters* mons)
grid(e).cls = SH_MONSTER;
if (!crawl_state.arena && you.misled())
grid(e).mons = mons->get_mislead_type();
+#ifndef USE_TILE
else if (mons->type == MONS_SLIME_CREATURE && mons->number > 1)
grid(e).mons = MONS_MERGED_SLIME_CREATURE;
+#endif
else
grid(e).mons = mons->type;
grid(e).colour = get_mons_glyph(mons).col;