--- a/src/command.c Wed Jan 03 20:00:29 2007 +0000
+++ b/src/command.c Thu Jan 11 13:16:26 2007 +0000
@@ -463,7 +463,11 @@
_docommand_recursive = 1;
// cost estimation only?
- if (!IsGeneratingWorld() && _shift_pressed && IsLocalPlayer() && !(cmd & (CMD_NETWORK_COMMAND | CMD_SHOW_NO_ERROR))) {
+ if (!IsGeneratingWorld() &&
+ _shift_pressed &&
+ IsLocalPlayer() &&
+ !(cmd & (CMD_NETWORK_COMMAND | CMD_SHOW_NO_ERROR)) &&
+ (cmd & 0xFF) != CMD_PAUSE) {
// estimate the cost.
res = proc(tile, flags, p1, p2);
if (CmdFailed(res)) {