From e558b0503312ea313b9a0303b74cce435500f119 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Sun, 18 Jan 2009 01:29:33 +0000 Subject: Tweaks to make it less likely that command repitition will be cancled when it's being used to wizard test Xom acts. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8525 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/acr.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/acr.cc') diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index ba1fe4b933..9ce37018c5 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -1568,8 +1568,9 @@ static void _input() if (you.cannot_act()) { - crawl_state.cancel_cmd_repeat("Cannot move, cancelling command " - "repetition."); + if (crawl_state.repeat_cmd != CMD_WIZARD) + crawl_state.cancel_cmd_repeat("Cannot move, cancelling command " + "repetition."); world_reacts(); return; -- cgit v1.2.3-54-g00ecf