diff options
author | rubidium <rubidium@openttd.org> | 2010-04-11 10:11:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-04-11 10:11:26 +0000 |
commit | 5c7aaf11badc8be299ca4fe3c1b988d49a237d74 (patch) | |
tree | 442b69a296e821329b355828840a087c1f49422c /src/command_type.h | |
parent | 9b7d71699d2ae0016e721d425b12ad516bd88101 (diff) | |
download | openttd-5c7aaf11badc8be299ca4fe3c1b988d49a237d74.tar.xz |
(svn r19602) -Codechange: add the name of the command to the desync logs
Diffstat (limited to 'src/command_type.h')
-rw-r--r-- | src/command_type.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/command_type.h b/src/command_type.h index 1f7c817fe..28d1855a4 100644 --- a/src/command_type.h +++ b/src/command_type.h @@ -370,8 +370,9 @@ typedef CommandCost CommandProc(TileIndex tile, DoCommandFlag flags, uint32 p1, * the #CMD_AUTO, #CMD_OFFLINE and #CMD_SERVER values. */ struct Command { - CommandProc *proc; - byte flags; + CommandProc *proc; ///< The procedure to actually executing + const char *name; ///< A human readable name for the procedure + byte flags; ///< The (command) flags to that apply to this command }; /** |