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

This commit is contained in:
Jonathan G Rennison
2021-10-27 00:24:26 +01:00
parent 53139c2405
commit aff6dbec2d

View File

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