1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2025-12-23 21:22:46 +01:00

(svn r9341) [0.5] -Backport from trunk (r8943, r8955, r8976, r8999, r9009):

- Fix: NewGRF support for vehicle variable 48 (r8943)
- Fix: crash on loading savegames with GRFs that do not have their GRF info/name set (r8955)
- Fix: reinitialize all engines after grf files have been reloaded/changed (r8976)
- Fix: do not select a disabled platform length/number of track count when going out of drag-drop mode (r8999)
- Fix: play the correct engine sound based on the engine type instead of the sprite (r9009)
This commit is contained in:
rubidium
2007-03-19 18:47:10 +00:00
parent 5a703390ec
commit 98f77876e6
5 changed files with 42 additions and 22 deletions

View File

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