summaryrefslogtreecommitdiff
path: root/src/command_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-07 13:26:48 +0000
committerrubidium <rubidium@openttd.org>2009-01-07 13:26:48 +0000
commitcb81e637b08ff960af2a532f9e0d2ec0a2e1736c (patch)
tree975aa0e1838e2849c55a2db051d02c37c41e4a54 /src/command_type.h
parentbfc840f436cb4c4063362ec526e12889e24c144b (diff)
downloadopenttd-cb81e637b08ff960af2a532f9e0d2ec0a2e1736c.tar.xz
(svn r14889) -Codechange: replace some magic numbers with constants.
Diffstat (limited to 'src/command_type.h')
-rw-r--r--src/command_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command_type.h b/src/command_type.h
index 7a9f8a63c..59e472563 100644
--- a/src/command_type.h
+++ b/src/command_type.h
@@ -328,6 +328,8 @@ enum {
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
+ CMD_FLAGS_MASK = 0xFF00, ///< mask for all command flags
+ CMD_ID_MASK = 0x00FF, ///< mask for the command ID
};
/**