summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index c9bcdb59a..95c290b9c 100644
--- a/command.c
+++ b/command.c
@@ -472,7 +472,7 @@ bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, CommandCallback *callback,
// If notest is on, it means the result of the test can be different then
// the real command.. so ignore the test
- if (!notest) {
+ if (!notest && !((cmd & CMD_NO_TEST_IF_IN_NETWORK) && _networking)) {
assert(res == res2); // sanity check
} else {
if ((uint32)res2 >> 16 == 0x8000) {