mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 09:29:10 +00:00
(svn r3360) Fix initialization of engines for precalculation of default refit mask.
This commit is contained in:
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)
|
||||
|
Reference in New Issue
Block a user