src/ai/ai.cpp
changeset 7446 1c4d469f986e
parent 7439 0c0e2945c890
child 8017 8c46e61c510f
equal deleted inserted replaced
7445:893e598ae2a2 7446:1c4d469f986e
    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 	 */