summaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
commit24c4d5b06d231785db01500360c26815d8fe4d15 (patch)
tree757477dbdc02025cc29690a4e66e40f872cab02b /src/command.h
parent36bb92ae241403d61dc7a3e5a1696b615be61395 (diff)
downloadopenttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.h b/src/command.h
index 91ee39379..ace80dc89 100644
--- a/src/command.h
+++ b/src/command.h
@@ -176,10 +176,10 @@ enum {
typedef int32 CommandProc(TileIndex tile, uint32 flags, uint32 p1, uint32 p2);
-typedef struct Command {
+struct Command {
CommandProc *proc;
byte flags;
-} Command;
+};
//#define return_cmd_error(errcode) do { _error_message=(errcode); return CMD_ERROR; } while(0)
#define return_cmd_error(errcode) do { return CMD_ERROR | (errcode); } while (0)