diff options
author | michi_cc <michi_cc@openttd.org> | 2011-12-03 23:40:08 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-12-03 23:40:08 +0000 |
commit | 6083d6ffb4b10ffd6e23e27183000cdb190d1ac7 (patch) | |
tree | 1b7814e1bacced2421db555655de3f3ade29f2c7 /src/saveload | |
parent | eadbb5764b9a0e1edbd50706c824063c3cc2836d (diff) | |
download | openttd-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.cpp | 2 |
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(); |