Mark order/timetable windows dirty when changing game date
This commit is contained in:
@@ -3012,4 +3012,9 @@ void ShiftOrderDates(int interval)
|
|||||||
orderlist->SetScheduledDispatchStartDate(orderlist->GetScheduledDispatchStartDatePart() + interval, orderlist->GetScheduledDispatchStartDateFractPart());
|
orderlist->SetScheduledDispatchStartDate(orderlist->GetScheduledDispatchStartDatePart() + interval, orderlist->GetScheduledDispatchStartDateFractPart());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SetWindowClassesDirty(WC_VEHICLE_ORDERS);
|
||||||
|
SetWindowClassesDirty(WC_VEHICLE_TIMETABLE);
|
||||||
|
SetWindowClassesDirty(WC_SCHDISPATCH_SLOTS);
|
||||||
|
InvalidateWindowClassesData(WC_DEPARTURES_BOARD, 0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user