summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-09 18:26:19 +0000
committerrubidium <rubidium@openttd.org>2008-04-09 18:26:19 +0000
commit82155367f6118c0a43a74eb842cf25b23d143d49 (patch)
treeddb520943c26dd780e20324992cfd08a769fb197 /src/order_gui.cpp
parentd1783459473251e2d7f392a3013fe6a8bbef4316 (diff)
downloadopenttd-82155367f6118c0a43a74eb842cf25b23d143d49.tar.xz
(svn r12640) -Codechange: let GetLoadType make a difference between full load and full load any based on the patch setting instead of using the patch setting directly.
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 9cf98c48e..76fa29b33 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -194,7 +194,7 @@ static void DrawOrdersWindow(Window *w)
break;
case OT_GOTO_STATION:
- SetDParam(1, _station_order_strings[!(order->GetNonStopType() == (_patches.new_nonstop ? ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS : ONSF_STOP_EVERYWHERE))][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() & OLFB_FULL_LOAD) | order->GetUnloadType()]);
SetDParam(2, order->GetDestination());
break;