From 93e7444ded284ca5da6ea59e1064af932bd067ca Mon Sep 17 00:00:00 2001 From: ennewalker Date: Wed, 24 Dec 2008 22:50:45 +0000 Subject: [2462140] Reverting previous check in to add more lines to the help menus. The better solution is to pick the text-only menu or the graphical menu in the constructor. This fixes an issue where there's a floating '=' x 80 line on the help screen sometimes, due to the graphical and textual draw_stock_item functions being inappropriately mixed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7965 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/invent.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crawl-ref/source/invent.cc') diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc index 6610fb180c..d736e1d8d7 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -270,11 +270,10 @@ InvShowPrices::~InvShowPrices() } InvMenu::InvMenu(int mflags) - : Menu(mflags, "inventory"), type(MT_INVLIST), pre_select(NULL), + : Menu(mflags, "inventory", false), type(MT_INVLIST), pre_select(NULL), title_annotate(NULL) { mdisplay->set_num_columns(2); - text_only = false; } // Returns vector of item_def pointers to each item_def in the given -- cgit v1.2.3-54-g00ecf