summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2011-12-03 23:40:08 +0000
committermichi_cc <michi_cc@openttd.org>2011-12-03 23:40:08 +0000
commit6083d6ffb4b10ffd6e23e27183000cdb190d1ac7 (patch)
tree1b7814e1bacced2421db555655de3f3ade29f2c7 /src/saveload
parenteadbb5764b9a0e1edbd50706c824063c3cc2836d (diff)
downloadopenttd-6083d6ffb4b10ffd6e23e27183000cdb190d1ac7.tar.xz
(svn r23410) -Add: A window with a detailed overview over the infrastructure of a company.
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 800f81647..9cdd52715 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -2752,6 +2752,8 @@ void ReloadNewGRFData()
DeleteInvalidEngineNews();
/* Update livery selection windows */
for (CompanyID i = COMPANY_FIRST; i < MAX_COMPANIES; i++) InvalidateWindowData(WC_COMPANY_COLOUR, i);
+ /* Update company infrastructure counts. */
+ InvalidateWindowClassesData(WC_COMPANY_INFRASTRUCTURE);
/* redraw the whole screen */
MarkWholeScreenDirty();
CheckTrainsLengths();