summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/macro.cc')
-rw-r--r--crawl-ref/source/macro.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc
index 803252ad7e..a87e86172d 100644
--- a/crawl-ref/source/macro.cc
+++ b/crawl-ref/source/macro.cc
@@ -705,7 +705,7 @@ int getch_with_command_macros( void )
void flush_input_buffer( int reason )
{
ASSERT(reason != FLUSH_KEY_REPLAY_CANCEL ||
- crawl_state.is_replaying_keys());
+ crawl_state.is_replaying_keys() || crawl_state.cmd_repeat_start);
ASSERT(reason != FLUSH_ABORT_MACRO || is_processing_macro());