summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r--crawl-ref/source/tilereg.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc
index 1b8dff3240..8e61aa842d 100644
--- a/crawl-ref/source/tilereg.cc
+++ b/crawl-ref/source/tilereg.cc
@@ -1274,14 +1274,12 @@ void InventoryRegion::pack_verts()
add_quad(TEX_DEFAULT, TILE_ITEM_SLOT_EQUIP_CURSED, x, y);
else
add_quad(TEX_DEFAULT, TILE_ITEM_SLOT_EQUIP, x, y);
- }
- else
- {
+
if (item.flag & TILEI_FLAG_MELDED)
- add_quad(TEX_DEFAULT, TILE_ITEM_SLOT_MELDED, x, y);
- if (item.flag & TILEI_FLAG_CURSE)
- add_quad(TEX_DEFAULT, TILE_ITEM_SLOT_CURSED, x, y);
+ add_quad(TEX_DEFAULT, TILE_MESH, x, y);
}
+ else if (item.flag & TILEI_FLAG_CURSE)
+ add_quad(TEX_DEFAULT, TILE_ITEM_SLOT_CURSED, x, y);
// TODO enne - need better graphic here
if (item.flag & TILEI_FLAG_SELECT)