(svn r13086) -Fix: do not crash badly after loading a newgrf with engines in-game that often

This commit is contained in:
smatz
2008-05-14 15:29:48 +00:00
parent 044f385f9c
commit f64c4fc4fb
2 changed files with 4 additions and 0 deletions

View File

@@ -2538,6 +2538,7 @@ void ReloadNewGRFData()
ResetVehiclePosHash();
AfterLoadVehicles(false);
StartupEngines();
SetCachedEngineCounts();
/* update station and waypoint graphics */
AfterLoadWaypoints();
AfterLoadStations();