1
0
Fork 0

(svn r8976) -Codechange: Reinitialize all engines after grf files have been reloaded/changed.

release/0.6
Darkvater 2007-03-02 15:17:48 +00:00
parent baf79a6a85
commit 991fbeaefa
1 changed files with 1 additions and 0 deletions

View File

@ -1852,6 +1852,7 @@ void ReloadNewGRFData(void)
/* reload vehicles */ /* reload vehicles */
ResetVehiclePosHash(); ResetVehiclePosHash();
AfterLoadVehicles(); AfterLoadVehicles();
StartupEngines();
/* update station and waypoint graphics */ /* update station and waypoint graphics */
AfterLoadWaypoints(); AfterLoadWaypoints();
AfterLoadStations(); AfterLoadStations();