summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-07 08:25:12 +0000
committerrubidium <rubidium@openttd.org>2009-10-07 08:25:12 +0000
commit705615fd914c51daacf4adb2aed9e21e6698e755 (patch)
tree3c4a711a5402700f16ace7ad4addc7b2e25502a5 /src/company_cmd.cpp
parent446363aac4c791cf39254c3da7f1bc34e2aebf57 (diff)
downloadopenttd-705615fd914c51daacf4adb2aed9e21e6698e755.tar.xz
(svn r17735) -Codechange: update the cache one inserting/removing CargoPackets from the CargoList via Append/Truncate instead of rebuilding the whole cache. For Append this changes the O(n) cache rebuild into a O(1) cache update. For Truncate no temporary list is needed anymore (based on patch by fonsinchen)
Diffstat (limited to 'src/company_cmd.cpp')
0 files changed, 0 insertions, 0 deletions