(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user