diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-24 22:50:45 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-24 22:50:45 +0000 |
commit | 93e7444ded284ca5da6ea59e1064af932bd067ca (patch) | |
tree | 2674dc8d4ec672f4983ba47215f73ee817927967 /crawl-ref/source/invent.cc | |
parent | f295ec844a740dfbff40d21f2fc550215a942cda (diff) | |
download | crawl-ref-93e7444ded284ca5da6ea59e1064af932bd067ca.tar.gz crawl-ref-93e7444ded284ca5da6ea59e1064af932bd067ca.zip |
[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
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r-- | crawl-ref/source/invent.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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 |