Codechange: use Date/Year constructor explicitly

This commit is contained in:
Rubidium
2025-01-01 09:13:39 +01:00
committed by rubidium42
parent f55ba40b13
commit 3956ed086a
22 changed files with 46 additions and 48 deletions

View File

@@ -396,7 +396,7 @@ void AfterLoadVehiclesPhase1(bool part_of_load)
/* If the start date is 0, the vehicle is not waiting to start and can be ignored. */
if (v->timetable_start == 0) continue;
v->timetable_start = GetStartTickFromDate(v->timetable_start);
v->timetable_start = GetStartTickFromDate(TimerGameEconomy::Date(v->timetable_start));
}
}