summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-08 13:32:44 +0000
committerrubidium <rubidium@openttd.org>2008-04-08 13:32:44 +0000
commit4267797cc8f7ee669122c22efeb5a6014644689f (patch)
tree429aa97c65369c027a6dba3ca3df0df712fa285a /src/order_gui.cpp
parentd577b0504acb87e0d75330ed438cfbe422469e96 (diff)
downloadopenttd-4267797cc8f7ee669122c22efeb5a6014644689f.tar.xz
(svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly.
Diffstat (limited to 'src/order_gui.cpp')
-rw-r--r--src/order_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index 633189850..b4559a1f5 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -201,7 +201,7 @@ static void DrawOrdersWindow(Window *w)
break;
case OT_GOTO_STATION:
- SetDParam(1, _station_order_strings[!!order->GetNonStopType()][order->GetLoadType() | order->GetUnloadType()]);
+ SetDParam(1, _station_order_strings[!(order->GetNonStopType() == (_patches.new_nonstop ? ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS : ONSF_STOP_EVERYWHERE))][order->GetLoadType() | order->GetUnloadType()]);
SetDParam(2, order->GetDestination());
break;