Change: Use seconds for Linkgraph update settings (#10610)
This commit is contained in:
@@ -799,6 +799,12 @@ bool AfterLoadGame()
|
||||
_settings_game.game_creation.ending_year = DEF_END_YEAR;
|
||||
}
|
||||
|
||||
/* Convert linkgraph update settings from days to seconds. */
|
||||
if (IsSavegameVersionBefore(SLV_LINKGRAPH_SECONDS)) {
|
||||
_settings_game.linkgraph.recalc_interval *= SECONDS_PER_DAY;
|
||||
_settings_game.linkgraph.recalc_time *= SECONDS_PER_DAY;
|
||||
}
|
||||
|
||||
/* Load the sprites */
|
||||
GfxLoadSprites();
|
||||
LoadStringWidthTable();
|
||||
|
Reference in New Issue
Block a user