From fcb00ca74bdda61a388f03c19c8efe7172189955 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Sat, 27 Dec 2025 13:59:46 -0500 Subject: [PATCH] Fix #14991, 046b0c6: Respect non-stop order setting when adding waypoint orders (#14993) --- 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 f6a129c1ca..d494d3fb3d 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -425,7 +425,7 @@ static std::pair GetOrderCmdFromTile(const Veh v->type == VEH_TRAIN && IsTileOwner(tile, _local_company)) { order.MakeGoToWaypoint(GetStationIndex(tile)); - if (_settings_client.gui.new_nonstop != citymania::_fn_mod) order.SetNonStopType({}); + if (_settings_client.gui.new_nonstop != citymania::_fn_mod) order.SetNonStopType({OrderNonStopFlag::NoIntermediate, OrderNonStopFlag::NoDestination}); return {order, citymania::FeederOrderMod::None}; } @@ -434,7 +434,7 @@ static std::pair GetOrderCmdFromTile(const Veh v->type == VEH_ROAD && IsTileOwner(tile, _local_company)) { order.MakeGoToWaypoint(GetStationIndex(tile)); - if (_settings_client.gui.new_nonstop != _ctrl_pressed) order.SetNonStopType({}); + if (_settings_client.gui.new_nonstop != _ctrl_pressed) order.SetNonStopType({OrderNonStopFlag::NoIntermediate, OrderNonStopFlag::NoDestination}); return std::make_pair(order, citymania::FeederOrderMod::None); }