Spread tile loop iterations over all ticks when using day length > 1

See: #545
This commit is contained in:
Jonathan G Rennison
2023-06-17 19:32:33 +01:00
parent 8c600fd480
commit 410d5bdc55
6 changed files with 35 additions and 6 deletions

View File

@@ -859,6 +859,7 @@ bool AfterLoadGame()
/* Update current year
* must be done before loading sprites as some newgrfs check it */
SetDate(_date, _date_fract, false);
SetupTileLoopCounts();
/*
* Force the old behaviour for compatibility reasons with old savegames. As new