summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/show.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-16 10:37:52 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-16 10:37:52 +0100
commit7344b4049931cda913d1108adc6f6cd703672208 (patch)
tree29b7444d6c3f110d79c2881ef84e2ef8d8b0d3aa /crawl-ref/source/show.cc
parent6bd4b1027ab74cd17991e168c1a2396e2a3b120d (diff)
downloadcrawl-ref-7344b4049931cda913d1108adc6f6cd703672208.tar.gz
crawl-ref-7344b4049931cda913d1108adc6f6cd703672208.zip
Fix mimics getting the heap brand when not standing over items.
Diffstat (limited to 'crawl-ref/source/show.cc')
-rw-r--r--crawl-ref/source/show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/show.cc b/crawl-ref/source/show.cc
index d4ee660642..8205d55b99 100644
--- a/crawl-ref/source/show.cc
+++ b/crawl-ref/source/show.cc
@@ -245,7 +245,7 @@ void show_def::_update_item_at(const coord_def &gp, const coord_def &ep)
// monster(mimic)-owned items have link = NON_ITEM+1+midx
if (eitem->link > NON_ITEM && igrd(gp) != NON_ITEM)
ecol |= COLFLAG_ITEM_HEAP;
- else if (eitem->link != NON_ITEM && !crawl_state.arena)
+ else if (eitem->link < NON_ITEM && !crawl_state.arena)
ecol |= COLFLAG_ITEM_HEAP;
grid(ep).cls = SH_ITEM;
grid(ep).item = _item_to_show_code(*eitem);