Mark order/timetable windows dirty when changing game date

This commit is contained in:
Jonathan G Rennison
2020-06-20 21:33:31 +01:00
parent ca79a32890
commit 22b13ffc26

View File

@@ -3012,4 +3012,9 @@ void ShiftOrderDates(int interval)
orderlist->SetScheduledDispatchStartDate(orderlist->GetScheduledDispatchStartDatePart() + interval, orderlist->GetScheduledDispatchStartDateFractPart());
}
}
SetWindowClassesDirty(WC_VEHICLE_ORDERS);
SetWindowClassesDirty(WC_VEHICLE_TIMETABLE);
SetWindowClassesDirty(WC_SCHDISPATCH_SLOTS);
InvalidateWindowClassesData(WC_DEPARTURES_BOARD, 0);
}