equal
deleted
inserted
replaced
82 * Executes a raw DoCommand for the AI. |
82 * Executes a raw DoCommand for the AI. |
83 */ |
83 */ |
84 CommandCost AI_DoCommandCc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, CommandCallback* callback) |
84 CommandCost AI_DoCommandCc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, CommandCallback* callback) |
85 { |
85 { |
86 PlayerID old_lp; |
86 PlayerID old_lp; |
87 CommandCost res = 0; |
87 CommandCost res; |
88 const char* tmp_cmdtext; |
88 const char* tmp_cmdtext; |
89 |
89 |
90 /* If you enable DC_EXEC with DC_QUERY_COST you are a really strange |
90 /* If you enable DC_EXEC with DC_QUERY_COST you are a really strange |
91 * person.. should we check for those funny jokes? |
91 * person.. should we check for those funny jokes? |
92 */ |
92 */ |