Mercurial > hg > openttd
changeset 11693:96fd0169a7a5 draft
(svn r16078) -Change: do not show stop location for via orders; they don't stop there
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 18 Apr 2009 13:21:51 +0000 |
parents | 17535de5f36c |
children | 50291ef7d6e6 |
files | src/order_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -202,7 +202,7 @@ } } 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); } }