(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes

This commit is contained in:
yexo
2010-06-20 19:13:02 +00:00
parent 24b5c2f8aa
commit ec723b7744
8 changed files with 27 additions and 2 deletions

View File

@@ -2126,6 +2126,11 @@ bool AfterLoadGame()
FOR_ALL_DEPOTS(d) MakeDefaultName(d);
}
if (CheckSavegameVersion(142)) {
Depot *d;
FOR_ALL_DEPOTS(d) d->build_date = _date;
}
/* Road stops is 'only' updating some caches */
AfterLoadRoadStops();
AfterLoadLabelMaps();