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

This commit is contained in:
Darkvater
2007-03-02 15:17:48 +00:00
parent 213c73d3b1
commit e3dff16b21

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();