# HG changeset patch # User rubidium # Date 1208105455 0 # Node ID 64cb6c5091c617297c16deee19cf18b73046ec7e # Parent 6e2d90e8936b1bb9c78c71f449ea0f3655186fa5 (svn r12688) -Change: make default non-stop for depot/waypoint orders the same as for stations. diff --git a/src/order_gui.cpp b/src/order_gui.cpp --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -422,6 +422,7 @@ if (v->type == VEH_TRAIN && IsTileOwner(tile, _local_player)) { if (IsRailDepot(tile)) { order.MakeGoToDepot(GetDepotByTile(tile)->index, ODTFB_PART_OF_ORDERS); + if (_patches.new_nonstop) order.SetNonStopType(ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS); return order; } } @@ -463,6 +464,7 @@ IsTileOwner(tile, _local_player) && IsRailWaypoint(tile)) { order.MakeGoToWaypoint(GetWaypointByTile(tile)->index); + if (_patches.new_nonstop) order.SetNonStopType(ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS); return order; }