changeset 6574 | e1d1a12faaf7 |
parent 6573 | 7624f942237f |
child 6719 | 4cc327ad39d5 |
child 6987 | b0f13039bda2 |
child 9359 | e915dd81a279 |
--- a/src/command.h Wed Mar 07 11:47:46 2007 +0000 +++ b/src/command.h Wed Mar 07 12:11:48 2007 +0000 @@ -176,10 +176,10 @@ 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)