From b2d325166ee05741620ee70de5b47104e256f0b4 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 10 Mar 2009 20:02:38 +0000 Subject: Greatly improve 'V' command: * Add toggle to travel to items. (FR 2180269) (Basically copied from StashSearchMenu, but I couldn't work out how to change the title after the toggle.) * Display monster tiles, yay! * Space allowing, display monsters' description along with 'x' information. (Ironically, though this was copied from Tiles, it only works for ASCII at the moment.) * Right-shift all entry types by 1 instead of just InvEntry, so it's more consistent and looks better on the 'V' screen. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9409 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/stash.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/stash.cc') diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc index f4f7d2e1ff..a6b03ceb81 100644 --- a/crawl-ref/source/stash.cc +++ b/crawl-ref/source/stash.cc @@ -556,8 +556,8 @@ bool Stash::show_menu(const std::string &prefix, bool can_travel) const StashMenu menu; MenuEntry *mtitle = new MenuEntry("Stash (" + prefix, MEL_TITLE); - menu.can_travel = can_travel; - mtitle->quantity = items.size(); + menu.can_travel = can_travel; + mtitle->quantity = items.size(); menu.set_title(mtitle); menu.load_items( InvMenu::xlat_itemvect(items), stash_menu_fixup); -- cgit v1.2.3-54-g00ecf