diff options
author | truelight <truelight@openttd.org> | 2005-12-09 17:42:56 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-12-09 17:42:56 +0000 |
commit | e9e5f2a2357e76bb14a87f11a40823ea0e26d7a3 (patch) | |
tree | 001ba67832f920d810bca4a402ba5a9840479250 /ai | |
parent | 3923eab4241b642841d5f94bbf99f604631e0a54 (diff) | |
download | openttd-e9e5f2a2357e76bb14a87f11a40823ea0e26d7a3.tar.xz |
(svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code)
Diffstat (limited to 'ai')
-rw-r--r-- | ai/ai.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |