diff options
author | smatz <smatz@openttd.org> | 2009-01-12 19:49:23 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-01-12 19:49:23 +0000 |
commit | d286e1df4b63b75475b0d3440ce39cb584ebefee (patch) | |
tree | 8c77d129ecd4fb627a8b4d4a72f19c9c608a377e /src/command.cpp | |
parent | 4c1e61997abbb274c1e1048088936d86a87568c5 (diff) | |
download | openttd-d286e1df4b63b75475b0d3440ce39cb584ebefee.tar.xz |
(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 4 |
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; |