summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-27 21:29:24 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-27 21:29:51 -0800
commit26461c1f623e6571e5e78d991dcb740f75b558b7 (patch)
treedbc47c9d639de4f9d68c3c28aef569832ad47083 /crawl-ref/source/stash.cc
parent6d0546ed897f598699dcaa142ab6d79d8f5af020 (diff)
downloadcrawl-ref-26461c1f623e6571e5e78d991dcb740f75b558b7.tar.gz
crawl-ref-26461c1f623e6571e5e78d991dcb740f75b558b7.zip
Fix stash-tracker shop-menu on non-travel levels
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index 4fcfc9defd..9eb534b0ff 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -536,14 +536,18 @@ void StashMenu::draw_title()
title->quantity == 1? "" : "s");
}
cprintf(")");
+
+ if (action_cycle == Menu::CYCLE_TOGGLE)
+ {
+ cprintf(" [a-z: %s ?/!: %s]",
+ menu_action == ACT_EXAMINE ? "examine" : "shopping",
+ menu_action == ACT_EXAMINE ? "shopping" : "examine");
+ }
+
if (can_travel)
{
if (action_cycle == Menu::CYCLE_TOGGLE)
{
- cprintf(" [a-z: %s ?/!: %s]",
- menu_action == ACT_EXAMINE ? "examine" : "shopping",
- menu_action == ACT_EXAMINE ? "shopping" : "examine");
-
// XXX: This won't fit in the title, so it goes into the
// footer/-more-. Not ideal, but I don't know where else
// to put it.