(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack

This commit is contained in:
smatz
2009-01-12 19:49:23 +00:00
parent 2c89bfbc81
commit 26e5ccb60d
5 changed files with 8 additions and 19 deletions

View File

@@ -448,10 +448,6 @@ error:
/* if toplevel, subtract the money. */
if (--_docommand_recursive == 0 && !(flags & DC_BANKRUPT)) {
SubtractMoneyFromCompany(res);
/* XXX - Old AI hack which doesn't use DoCommandP; update last build coord of company */
if (tile != 0 && IsValidCompanyID(_current_company)) {
GetCompany(_current_company)->last_build_coordinate = tile;
}
}
return res;