From 145ea544749580b0390b4b69b6e3772995d51502 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 13 Apr 2008 16:50:55 +0000 Subject: (svn r12688) -Change: make default non-stop for depot/waypoint orders the same as for stations. --- src/order_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/order_gui.cpp b/src/order_gui.cpp index 7740eabc8..02d3e5fcb 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -422,6 +422,7 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile) 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 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile) 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; } -- cgit v1.2.3-70-g09d2