summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index f392c9d429..45b22896c0 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -483,6 +483,9 @@ void InvMenu::load_inv_items(int item_selector, int excluded_slot,
#ifdef USE_TILE
bool InvEntry::get_tiles(std::vector<tile_def>& tileset) const
{
+ if (!Options.tile_menu_icons)
+ return (false);
+
if (quantity <= 0)
return (false);