Add setting for inflation dates mode

This commit is contained in:
Jonathan G Rennison
2021-01-30 19:59:00 +00:00
parent 39df1c49a1
commit 33d9e48bcf
8 changed files with 24 additions and 2 deletions

View File

@@ -3831,6 +3831,10 @@ bool AfterLoadGame()
UpdateAllAnimatedTileSpeeds();
}
if (SlXvIsFeatureMissing(XSLFI_INFLATION_FIXED_DATES)) {
_settings_game.economy.inflation_fixed_dates = !IsSavegameVersionBefore(SLV_GS_INDUSTRY_CONTROL);
}
InitializeRoadGUI();
/* This needs to be done after conversion. */