From d21369b258df560a7e05e1764216fb6e9855d762 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Sat, 23 Mar 2024 08:23:13 -0400 Subject: [PATCH] Change: Show unbunching action in timetable window (#12351) (cherry picked from commit 2732b3d6c6581da690d094149d76dda8213f533d) # Conflicts: # src/order_gui.cpp --- 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 8643610f84..2cacd39067 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -981,8 +981,8 @@ void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int timetable_wait_time_valid = !(order->GetDepotActionType() & ODATFB_HALT); } - /* Do not show unbunching in the depot in the timetable window. */ - if (!timetable && (order->GetDepotActionType() & ODATFB_UNBUNCH)) { + /* Show unbunching depot in both order and timetable windows. */ + if (order->GetDepotActionType() & ODATFB_UNBUNCH) { SetDParam(10, STR_ORDER_WAIT_TO_UNBUNCH); }