summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-04 11:58:27 +0000
committerrubidium <rubidium@openttd.org>2007-09-04 11:58:27 +0000
commitbd7483ba3cdc33b753e36a4ca43ad6feea6222e1 (patch)
treeeb509837e511a15770453fc1943e2b7c7180be64 /src/ai
parentd5e3e4c66e449b84982baf97a52d6ae70eb11b41 (diff)
downloadopenttd-bd7483ba3cdc33b753e36a4ca43ad6feea6222e1.tar.xz
(svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ai/ai.cpp b/src/ai/ai.cpp
index 8086ef29a..1f85fc981 100644
--- a/src/ai/ai.cpp
+++ b/src/ai/ai.cpp
@@ -106,7 +106,6 @@ CommandCost AI_DoCommandCc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, u
/* If we did a DC_EXEC, and the command did not return an error, execute it
* over the network */
- if (flags & DC_AUTO) procc |= CMD_AUTO;
if (flags & DC_NO_WATER) procc |= CMD_NO_WATER;
/* NetworkSend_Command needs _local_player to be set correctly, so