diff options
author | michi_cc <michi_cc@openttd.org> | 2011-12-03 23:40:13 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-12-03 23:40:13 +0000 |
commit | d30fcd4e354325af0d2b1968cd11c9db36a3e617 (patch) | |
tree | b69954355d81dd316ec4fcbeddcd117fecb1edee /src/saveload/afterload.cpp | |
parent | 6083d6ffb4b10ffd6e23e27183000cdb190d1ac7 (diff) | |
download | openttd-d30fcd4e354325af0d2b1968cd11c9db36a3e617.tar.xz |
(svn r23411) -Add: Company infrastructure counts for rail.
Diffstat (limited to 'src/saveload/afterload.cpp')
-rw-r--r-- | src/saveload/afterload.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 9cdd52715..3873b5d6e 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -2716,6 +2716,7 @@ bool AfterLoadGame() /* Road stops is 'only' updating some caches */ AfterLoadRoadStops(); AfterLoadLabelMaps(); + AfterLoadCompanyStats(); GamelogPrintDebug(1); @@ -2746,6 +2747,8 @@ void ReloadNewGRFData() GroupStatistics::UpdateAfterLoad(); /* update station graphics */ AfterLoadStations(); + /* Update company statistics. */ + AfterLoadCompanyStats(); /* Check and update house and town values */ UpdateHousesAndTowns(); /* Delete news referring to no longer existing entities */ |