diff options
author | rubidium <rubidium@openttd.org> | 2010-01-10 23:20:11 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-10 23:20:11 +0000 |
commit | f51aac3523b60e2d89cd906d71cf86828ed95a00 (patch) | |
tree | 86820f981ae24c198e8259be4ac1469d34b90586 /src/ai/api/ai_object.cpp | |
parent | d5fa74369ad5ceb3b14663626ed0465bc1a9f843 (diff) | |
download | openttd-f51aac3523b60e2d89cd906d71cf86828ed95a00.tar.xz |
(svn r18777) -Codechange: remove some unused parameters from a function
Diffstat (limited to 'src/ai/api/ai_object.cpp')
-rw-r--r-- | src/ai/api/ai_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_object.cpp b/src/ai/api/ai_object.cpp index e30f0c388..c9abc9ea4 100644 --- a/src/ai/api/ai_object.cpp +++ b/src/ai/api/ai_object.cpp @@ -222,7 +222,7 @@ bool AIObject::DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint cmd, const c } /* Check what the callback wants us to do */ - if (GetDoCommandMode() != NULL && !GetDoCommandMode()(tile, p1, p2, cmd, res)) { + if (GetDoCommandMode() != NULL && !GetDoCommandMode()()) { IncreaseDoCommandCosts(res.GetCost()); return true; } |