From 9706c32ed69f560199ea6232fb5078876912e1e9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 4 Sep 2007 11:58:27 +0000 Subject: (svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion. --- src/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command.h') 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); -- cgit v1.2.3-70-g09d2