summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-06 19:48:48 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-06 19:48:48 +0000
commit4fa98a2fc0bdc9ce571af9f1e839efe6382e1fe6 (patch)
treeb330c03382905c84f0880ff86ad42c102151bc01 /crawl-ref/source/invent.cc
parentc62f818ed6fffbb18035cae185212109f3b30efe (diff)
downloadcrawl-ref-4fa98a2fc0bdc9ce571af9f1e839efe6382e1fe6.tar.gz
crawl-ref-4fa98a2fc0bdc9ce571af9f1e839efe6382e1fe6.zip
Fix non-tiles build.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9907 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index 4d7d7f0e35..46b137879c 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -326,7 +326,9 @@ InvMenu::InvMenu(int mflags)
: Menu(mflags, "inventory", false), type(MT_INVLIST), pre_select(NULL),
title_annotate(NULL)
{
+#ifdef USE_TILE
if (Options.tile_menu_icons)
+#endif
mdisplay->set_num_columns(2);
}