(svn r18777) -Codechange: remove some unused parameters from a function

This commit is contained in:
rubidium
2010-01-10 23:20:11 +00:00
parent d5fa74369a
commit f51aac3523
7 changed files with 7 additions and 7 deletions

View File

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