(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 b0d7b6cef9
commit efbc73cf1e
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;
}