(svn r20591) -Codechange: make sure _date_fract is set when SetDate is called. Some places wouldn't reset _date_fract correctly at all

This commit is contained in:
rubidium
2010-08-22 09:18:01 +00:00
parent fba7ce392d
commit 56a263070f
7 changed files with 15 additions and 17 deletions

View File

@@ -571,7 +571,7 @@ bool AfterLoadGame()
/* Update current year
* must be done before loading sprites as some newgrfs check it */
SetDate(_date);
SetDate(_date, _date_fract);
/* Force dynamic engines off when loading older savegames */
if (CheckSavegameVersion(95)) _settings_game.vehicle.dynamic_engines = 0;