summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-07-07 07:49:45 -0400
committerNeil Moore <neil@s-z.org>2012-07-07 07:55:01 -0400
commit5463df55be15f947822623c723ca0053f18816b3 (patch)
treee3c01dc3bbdf3a6d9f30920fa486af88f28ea396 /crawl-ref/source/menu.h
parent330e717e1950c9f838320da3b719e6d5d76e98f2 (diff)
downloadcrawl-ref-5463df55be15f947822623c723ca0053f18816b3.tar.gz
crawl-ref-5463df55be15f947822623c723ca0053f18816b3.zip
Allow deleting shopping list items when in portals.
Adding items to the shopping list is still not permitted, since those items will be permanently unavailable upon leaving the level. Partially fixes #2251.
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r--crawl-ref/source/menu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index 6893c1038f..94b0c6925f 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -381,7 +381,10 @@ public:
drawitem_tfn f_drawitem;
keyfilter_tfn f_keyfilter;
- enum cycle { CYCLE_NONE, CYCLE_TOGGLE, CYCLE_CYCLE } action_cycle;
+ enum cycle
+ {
+ CYCLE_NONE, CYCLE_TOGGLE, CYCLE_CYCLE, CYCLE_NO_EXEC
+ } action_cycle;
enum action { ACT_EXECUTE, ACT_EXAMINE, ACT_MISC, ACT_NUM } menu_action;
#ifdef USE_TILE_WEB