summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-16 20:49:42 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-16 20:49:42 +0000
commit305618f279ee424e35c254b0d63d151f91fd3e69 (patch)
tree0c4e1ed4b83a802c009af44d74ac11190c650f07 /crawl-ref/source/stash.cc
parente517615e56766a43008442ebdfe3669c6333710a (diff)
downloadcrawl-ref-305618f279ee424e35c254b0d63d151f91fd3e69.tar.gz
crawl-ref-305618f279ee424e35c254b0d63d151f91fd3e69.zip
* Fix 2687930: Shorten the spell menu more, and don't call update_title()
at '?' as apparently all it does is hide the first spell line. * Uncomment the autoinscription of weapons of distortion in init.txt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9511 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index ad98884048..a2f47ffc7a 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -1778,7 +1778,6 @@ public:
StashSearchMenu(const char* sort_style_)
: Menu(), can_travel(true),
request_toggle_sort_method(false),
-// allow_toggle(true), menu_action(ACT_EXECUTE),
sort_style(sort_style_)
{ }
@@ -1836,9 +1835,9 @@ bool StashTracker::display_search_results(
StashSearchMenu stashmenu(sort_style);
stashmenu.set_tag("stash");
- stashmenu.can_travel = travelable;
+ stashmenu.can_travel = travelable;
stashmenu.allow_toggle = true;
- stashmenu.menu_action = Menu::ACT_EXECUTE;
+ stashmenu.menu_action = Menu::ACT_EXECUTE;
std::string title = "match";
MenuEntry *mtitle = new MenuEntry(title, MEL_TITLE);