From e9e1c4de5385f0d8ac72de564691bccd395bab08 Mon Sep 17 00:00:00 2001 From: truelight Date: Fri, 9 Dec 2005 17:42:56 +0000 Subject: [PATCH] (svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code) --- ai/ai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai/ai.c b/ai/ai.c index 96f2ec9e13..4e1545e772 100644 --- a/ai/ai.c +++ b/ai/ai.c @@ -137,7 +137,7 @@ int32 AI_DoCommandChecked(uint tile, uint32 p1, uint32 p2, uint32 flags, uint pr 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;