diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-12-16 00:33:50 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-12-16 00:33:50 -0600 |
commit | 349da9e285fc1924b8365314285300f2e52e5b23 (patch) | |
tree | b09e66307e97be62b545242b591a0e8192c57e13 /crawl-ref/source/show.cc | |
parent | 92d22c5ad9a1a70fefef9a5cb2ba801a0003f56b (diff) | |
download | crawl-ref-349da9e285fc1924b8365314285300f2e52e5b23.tar.gz crawl-ref-349da9e285fc1924b8365314285300f2e52e5b23.zip |
fix incorrect item heap branding
Diffstat (limited to 'crawl-ref/source/show.cc')
-rw-r--r-- | crawl-ref/source/show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/show.cc b/crawl-ref/source/show.cc index 9899bc521c..d4ee660642 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); |