summaryrefslogtreecommitdiff
path: root/src/command_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-07 14:45:07 +0000
committerrubidium <rubidium@openttd.org>2009-01-07 14:45:07 +0000
commit5fcf07f3881b76fcccca7917ad7773ef46a75625 (patch)
tree547b9e6117c20e383e7a3ffe30e3e6a0f294d1e9 /src/command_type.h
parentd66d36126c4ed7cd4eef91b61174491427bb0322 (diff)
downloadopenttd-5fcf07f3881b76fcccca7917ad7773ef46a75625.tar.xz
(svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command table
Diffstat (limited to 'src/command_type.h')
-rw-r--r--src/command_type.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/command_type.h b/src/command_type.h
index 19d3452a7..ccbd3704d 100644
--- a/src/command_type.h
+++ b/src/command_type.h
@@ -324,7 +324,6 @@ enum {
* This enumeration defines some flags which are binary-or'ed on a command.
*/
enum {
- CMD_NO_WATER = 0x0400, ///< dont build on water
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
CMD_SHOW_NO_ERROR = 0x2000, ///< do not show the error message
@@ -338,10 +337,11 @@ enum {
* This enumeration defines flags for the _command_proc_table.
*/
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
- CMD_NO_TEST = 0x8, ///< the command's output may differ between test and execute due to town rating changes etc.
+ CMD_SERVER = 0x01, ///< the command can only be initiated by the server
+ CMD_OFFLINE = 0x02, ///< the command cannot be executed in a multiplayer game; single-player only
+ CMD_AUTO = 0x04, ///< set the DC_AUTO flag on this command
+ CMD_NO_TEST = 0x08, ///< the command's output may differ between test and execute due to town rating changes etc.
+ CMD_NO_WATER = 0x10, ///< set the DC_NO_WATER flag on this command
};
/**