Codechange: Move date consts and functions to CalendarTime and TimerGameCalendar classes
This commit is contained in:
@@ -1283,8 +1283,8 @@ void LoadFromConfig(bool startup)
|
||||
/* Load basic settings only during bootstrap, load other settings not during bootstrap */
|
||||
if (!startup) {
|
||||
if (generic_version < IFV_LINKGRAPH_SECONDS) {
|
||||
_settings_newgame.linkgraph.recalc_interval *= SECONDS_PER_DAY;
|
||||
_settings_newgame.linkgraph.recalc_time *= SECONDS_PER_DAY;
|
||||
_settings_newgame.linkgraph.recalc_interval *= CalendarTime::SECONDS_PER_DAY;
|
||||
_settings_newgame.linkgraph.recalc_time *= CalendarTime::SECONDS_PER_DAY;
|
||||
}
|
||||
|
||||
/* Move no_http_content_downloads and use_relay_service from generic_ini to private_ini. */
|
||||
|
Reference in New Issue
Block a user