diff options
author | rubidium <rubidium@openttd.org> | 2008-04-08 13:32:44 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-08 13:32:44 +0000 |
commit | 71a2dd21fd7cb180022ce10793bbbf144d499bdd (patch) | |
tree | 429aa97c65369c027a6dba3ca3df0df712fa285a /src/order_gui.cpp | |
parent | 310170364ff7e22ce631e2c5afeef9be12a8aca4 (diff) | |
download | openttd-71a2dd21fd7cb180022ce10793bbbf144d499bdd.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.cpp | 2 |
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; |