Fix a few issues and reset everything on start of new game
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
|
||||
|
||||
extern TileIndex _cur_tileloop_tile;
|
||||
extern void ClearAllSignalSpeedRestrictions();
|
||||
extern void MakeNewgameSettingsLive();
|
||||
|
||||
void InitializeSound();
|
||||
@@ -116,7 +117,8 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
|
||||
RebuildViewportKdtree();
|
||||
|
||||
FreeSignalPrograms();
|
||||
FreeSignalDependencies();
|
||||
FreeSignalDependencies();
|
||||
ClearAllSignalSpeedRestrictions();
|
||||
|
||||
ClearZoningCaches();
|
||||
IntialiseOrderDestinationRefcountMap();
|
||||
|
Reference in New Issue
Block a user