Add: Apply rail/road type conversion when NewGRFs are updated mid-game.

This will update the rail/road type of tiles on the map, taking account of tram state, if types are moved around.
This commit is contained in:
2024-10-22 17:32:15 +01:00
committed by Peter Nelson
parent 8bb6572943
commit 3b6d3080f2
2 changed files with 17 additions and 0 deletions

View File

@@ -3362,6 +3362,7 @@ void ReloadNewGRFData()
RecomputePrices();
/* reload vehicles */
ResetVehicleHash();
AfterLoadLabelMaps();
AfterLoadVehiclesPhase1(false);
AfterLoadVehiclesPhase2(false);
StartupEngines();