diff options
author | rubidium <rubidium@openttd.org> | 2009-01-07 13:26:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-07 13:26:48 +0000 |
commit | 71df085954a3bccfa273eef8bbb7cfe424a12c41 (patch) | |
tree | 975aa0e1838e2849c55a2db051d02c37c41e4a54 /src/command_type.h | |
parent | 958e2cb9e4d580ce9440fb73a6083054c51de20e (diff) | |
download | openttd-71df085954a3bccfa273eef8bbb7cfe424a12c41.tar.xz |
(svn r14889) -Codechange: replace some magic numbers with constants.
Diffstat (limited to 'src/command_type.h')
-rw-r--r-- | src/command_type.h | 2 |
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 }; /** |