Codechange: do not implicitly convert during assignment to StrongType

This commit is contained in:
Rubidium
2025-01-01 18:50:57 +01:00
committed by rubidium42
parent 448d6ede4a
commit c0df898ac5
25 changed files with 57 additions and 58 deletions

View File

@@ -608,7 +608,7 @@ static void ChangeTimekeepingUnits(int32_t)
new_economy_date_fract = 0;
} else {
/* If the new mode is calendar units, sync the economy year with the calendar year. */
new_economy_date = TimerGameCalendar::date.base();
new_economy_date = TimerGameEconomy::Date{TimerGameCalendar::date.base()};
new_economy_date_fract = TimerGameCalendar::date_fract;
}