diff --git a/arogue7/command.c b/arogue7/command.c index c98969f..12ddd5b 100644 --- a/arogue7/command.c +++ b/arogue7/command.c @@ -192,7 +192,7 @@ command() /* * execute a command */ - if (count && !running) + if (count && !running && player.t_action == A_NIL) count--; switch (ch) { case '!' : shell(); diff --git a/xrogue/command.c b/xrogue/command.c index d83a9a6..228dd18 100644 --- a/xrogue/command.c +++ b/xrogue/command.c @@ -185,7 +185,7 @@ command() /* * execute a command */ - if (count && !running) + if (count && !running && player.t_action == A_NIL) count--; switch (ch) {