summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-12 12:19:53 +0000
committerrubidium <rubidium@openttd.org>2008-04-12 12:19:53 +0000
commit8410bff0782280166d172a8cc9021dca83a4f6df (patch)
treeeabe3cd53769c9f05188b9101baaca70195500c1 /src
parentac94b6384b518390c7e7791446c06c78cb6ce1d2 (diff)
downloadopenttd-8410bff0782280166d172a8cc9021dca83a4f6df.tar.xz
(svn r12668) -Fix (12667): swapping of variables went wrong.
Diffstat (limited to 'src')
-rw-r--r--src/order_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp
index 9a0826871..70ad28861 100644
--- a/src/order_cmd.cpp
+++ b/src/order_cmd.cpp
@@ -96,8 +96,8 @@ void Order::MakeDummy()
void Order::MakeConditional(VehicleOrderID order)
{
this->type = OT_CONDITIONAL;
- this->flags = 0;
- this->dest = order;
+ this->flags = order;
+ this->dest = 0;
}
void Order::SetRefit(CargoID cargo, byte subtype)