Show timetabled 0 wait times for stations/depots in timetable window
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user