Maintain map of vehicle order destinations refcounts, by type

This commit is contained in:
Jonathan G Rennison
2019-05-12 04:24:10 +01:00
parent 8a4ba9f9c1
commit 8196789eeb
5 changed files with 77 additions and 0 deletions

View File

@@ -362,6 +362,7 @@ static void ShutdownGame()
FreeSignalDependencies();
ClearZoningCaches();
ClearOrderDestinationRefcountMap();
/* No NewGRFs were loaded when it was still bootstrapping. */
if (_game_mode != GM_BOOTSTRAP) ResetNewGRFData();