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 | 26e5ccb60dfa5c25c11f70424d92c66596c0ec70 (patch) | |
tree | 8c77d129ecd4fb627a8b4d4a72f19c9c608a377e /src/command.cpp | |
parent | 2c89bfbc8167c8808be71d08c918d52d92c5300d (diff) | |
download | openttd-26e5ccb60dfa5c25c11f70424d92c66596c0ec70.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; |