(svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code)
authortruelight
Fri, 09 Dec 2005 17:42:56 +0000
changeset 2732 ceabbda7e642
parent 2731 97a409a62741
child 2733 d8f39e8819a3
(svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code)
ai/ai.c
--- a/ai/ai.c	Fri Dec 09 13:17:31 2005 +0000
+++ b/ai/ai.c	Fri Dec 09 17:42:56 2005 +0000
@@ -137,7 +137,7 @@
 	uint unique_id = uids[_current_player]++;
 	int32 res;
 
-	res = AI_DoCommand(tile, p1, p2, flags & ~DC_EXEC, procc);
+	res = DoCommandByTile(tile, p1, p2, flags & ~DC_EXEC, procc);
 	if (CmdFailed(res))
 		return CMD_ERROR;