diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-27 21:29:24 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-27 21:29:51 -0800 |
commit | 26461c1f623e6571e5e78d991dcb740f75b558b7 (patch) | |
tree | dbc47c9d639de4f9d68c3c28aef569832ad47083 | |
parent | 6d0546ed897f598699dcaa142ab6d79d8f5af020 (diff) | |
download | crawl-ref-26461c1f623e6571e5e78d991dcb740f75b558b7.tar.gz crawl-ref-26461c1f623e6571e5e78d991dcb740f75b558b7.zip |
Fix stash-tracker shop-menu on non-travel levels
-rw-r--r-- | crawl-ref/source/stash.cc | 12 |
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. |