Fix date cheat/scenario load not adjusting vehicle date of last service

This commit is contained in:
Jonathan G Rennison
2021-04-24 21:52:06 +01:00
parent ff35a783bf
commit e6a858c0dc
5 changed files with 13 additions and 1 deletions

View File

@@ -1131,6 +1131,7 @@ void SetStartingYear(Year year)
/* If you open a savegame as scenario there may already be link graphs.*/
LinkGraphSchedule::instance.ShiftDates(new_date - _date);
ShiftOrderDates(new_date - _date);
ShiftVehicleDates(new_date - _date);
SetDate(new_date, 0);
}