From 523a92493db441c6bda816f3cdd6cbd4dcc5c1cd Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 18 Apr 2009 13:21:51 +0000 Subject: [PATCH] (svn r16078) -Change: do not show stop location for via orders; they don't stop there --- src/order_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/order_gui.cpp b/src/order_gui.cpp index e2a93e87bf..28e67443a8 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -202,7 +202,7 @@ void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int } } else { SetDParam(4, (order->GetNonStopType() & ONSF_NO_STOP_AT_DESTINATION_STATION) ? STR_EMPTY : _station_load_types[unload][load]); - if (v->type == VEH_TRAIN) { + if (v->type == VEH_TRAIN && (order->GetNonStopType() & ONSF_NO_STOP_AT_DESTINATION_STATION) == 0) { SetDParam(6, order->GetStopLocation() + STR_ORDER_STOP_LOCATION_NEAR_END); } }