diff options
author | rubidium <rubidium@openttd.org> | 2009-04-18 13:21:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-18 13:21:51 +0000 |
commit | 523a92493db441c6bda816f3cdd6cbd4dcc5c1cd (patch) | |
tree | 5d66b0eb96e87caa00b4bf52d43ae41c973e3033 | |
parent | faa1ec7a5db3028017809c02c9d11156aa75b325 (diff) | |
download | openttd-523a92493db441c6bda816f3cdd6cbd4dcc5c1cd.tar.xz |
(svn r16078) -Change: do not show stop location for via orders; they don't stop there
-rw-r--r-- | src/order_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp index e2a93e87b..28e67443a 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); } } |