mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-22 23:26:34 +00:00
(svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code)
This commit is contained in:
parent
26a5e120e8
commit
e9e1c4de53
2
ai/ai.c
2
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user