From aff6dbec2d3331b7409119b1ceb9c53ae2fcef9b Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Wed, 27 Oct 2021 00:24:26 +0100 Subject: [PATCH] Show timetabled 0 wait times for stations/depots in timetable window --- src/order_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/order_gui.cpp b/src/order_gui.cpp index ec0a17ad5c..e74187a25e 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -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()); }