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
commit9706c32ed69f560199ea6232fb5078876912e1e9 (patch)
treeeb509837e511a15770453fc1943e2b7c7180be64 /src/ai
parentb1effc466eac33997567e2f2e68812afb1c0a7f6 (diff)
downloadopenttd-9706c32ed69f560199ea6232fb5078876912e1e9.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