diff options
author | smatz <smatz@openttd.org> | 2009-06-25 15:42:03 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-25 15:42:03 +0000 |
commit | fa1ad0fd3c4bb20af746d5ee7588afcb0e5f8375 (patch) | |
tree | 30ddcbb431fa267add60ae492912185023e803a3 /src/saveload | |
parent | 8bc244d14e14b898bfaff8bb3ba23704a1168669 (diff) | |
download | openttd-fa1ad0fd3c4bb20af746d5ee7588afcb0e5f8375.tar.xz |
(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/afterload.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 8ddc8b5ee..2b1bd15e6 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -226,6 +226,8 @@ static bool InitializeWindowsAndCaches() SetCachedEngineCounts(); + Station::RecomputeIndustriesNearForAll(); + /* Towns have a noise controlled number of airports system * So each airport's noise value must be added to the town->noise_reached value * Reset each town's noise_reached value to '0' before. */ |