From 7344b4049931cda913d1108adc6f6cd703672208 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Wed, 16 Dec 2009 10:37:52 +0100 Subject: Fix mimics getting the heap brand when not standing over items. --- crawl-ref/source/show.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/show.cc') 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); -- cgit v1.2.3-54-g00ecf