summaryrefslogtreecommitdiff
path: root/src/command.h
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/command.h
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/command.h')
-rw-r--r--src/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.h b/src/command.h
index 65fc0c495..2ae566172 100644
--- a/src/command.h
+++ b/src/command.h
@@ -172,7 +172,6 @@ enum {
#define CMD_MSG(x) ((x) << 16)
enum {
- CMD_AUTO = 0x0200,
CMD_NO_WATER = 0x0400,
CMD_NETWORK_COMMAND = 0x0800, ///< execute the command without sending it on the network
CMD_NO_TEST_IF_IN_NETWORK = 0x1000, ///< When enabled, the command will bypass the no-DC_EXEC round if in network
@@ -183,6 +182,7 @@ enum {
enum {
CMD_SERVER = 0x1, ///< the command can only be initiated by the server
CMD_OFFLINE = 0x2, ///< the command cannot be executed in a multiplayer game; single-player only
+ CMD_AUTO = 0x4, ///< set the DC_AUTO flag on this command
};
typedef CommandCost CommandProc(TileIndex tile, uint32 flags, uint32 p1, uint32 p2);