(svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code)

This commit is contained in:
truelight 2005-12-09 17:42:56 +00:00
parent 26a5e120e8
commit e9e1c4de53
1 changed files with 1 additions and 1 deletions

View File

@ -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;