Show timetabled 0 wait times for stations/depots in timetable window

pull/326/head
Jonathan G Rennison 3 years ago
parent 53139c2405
commit aff6dbec2d

@ -839,7 +839,7 @@ void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int
if (timetable) {
SetDParam(3, STR_EMPTY);
if (order->GetWaitTime() > 0) {
if (order->GetWaitTime() > 0 || order->IsWaitTimetabled()) {
SetDParam(7, order->IsWaitTimetabled() ? STR_TIMETABLE_STAY_FOR : STR_TIMETABLE_STAY_FOR_ESTIMATED);
SetTimetableParams(8, order->GetWaitTime());
}
@ -892,7 +892,7 @@ void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int
}
if (timetable) {
if (order->GetWaitTime() > 0) {
if (order->GetWaitTime() > 0 || order->IsWaitTimetabled()) {
SetDParam(7, order->IsWaitTimetabled() ? STR_TIMETABLE_STAY_FOR : STR_TIMETABLE_STAY_FOR_ESTIMATED);
SetTimetableParams(8, order->GetWaitTime());
}

Loading…
Cancel
Save