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.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index 5c4c7ecad5..fbef463669 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -268,6 +268,13 @@ InvShowPrices::~InvShowPrices()
InvEntry::set_show_prices(false);
}
+InvMenu::InvMenu(int mflags)
+ : Menu(mflags, "inventory"), type(MT_INVLIST), pre_select(NULL),
+ title_annotate(NULL)
+{
+ mdisplay->set_num_columns(2);
+}
+
// Returns vector of item_def pointers to each item_def in the given
// vector. Note: make sure the original vector stays around for the lifetime
// of the use of the item pointers, or mayhem results!