mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r3360) Fix initialization of engines for precalculation of default refit mask.
This commit is contained in:
parent
eeeebf9f6d
commit
f55153ce3c
3
newgrf.c
3
newgrf.c
|
@ -2463,6 +2463,9 @@ static void ResetNewGRFData(void)
|
|||
// Reset station classes
|
||||
ResetStationClasses();
|
||||
ResetCustomStations();
|
||||
|
||||
// Add engine type to engine data. This is needed for the refit precalculation.
|
||||
AddTypeToEngines();
|
||||
}
|
||||
|
||||
static void InitNewGRFFile(const char* filename, int sprite_offset)
|
||||
|
|
Loading…
Reference in New Issue