summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/delay.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index be0673e69d..86aa71baf4 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -359,12 +359,14 @@ void handle_delay( void )
switch (delay.type)
{
case DELAY_AUTOPICKUP:
+ {
const int estop =
you.running == RMODE_EXPLORE_GREEDY?
ES_GREEDY_PICKUP : ES_PICKUP;
if ((Options.explore_stop & estop) && prompt_stop_explore(estop))
stop_delay();
break;
+ }
case DELAY_WEAPON_SWAP:
weapon_switch( delay.parm1 );