diff options
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index 255ac335e6..0c2c61303d 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -699,11 +699,13 @@ void canned_msg(unsigned char which_message) // jmf: general helper (should be used all over in code) // -- idea borrowed from Nethack -bool yesno( const char *str, bool safe, int safeanswer, bool clear_after ) +bool yesno( const char *str, bool safe, int safeanswer, bool clear_after, + bool interrupt_delays ) { unsigned char tmp; - interrupt_activity( AI_FORCE_INTERRUPT ); + if (interrupt_delays) + interrupt_activity( AI_FORCE_INTERRUPT ); for (;;) { mpr(str, MSGCH_PROMPT); |