summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/command.cpp b/src/command.cpp
index 6c1bc6cde..0cb9e7640 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -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;