diff options
author | rubidium <rubidium@openttd.org> | 2008-04-12 12:19:53 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-12 12:19:53 +0000 |
commit | 8410bff0782280166d172a8cc9021dca83a4f6df (patch) | |
tree | eabe3cd53769c9f05188b9101baaca70195500c1 | |
parent | ac94b6384b518390c7e7791446c06c78cb6ce1d2 (diff) | |
download | openttd-8410bff0782280166d172a8cc9021dca83a4f6df.tar.xz |
(svn r12668) -Fix (12667): swapping of variables went wrong.
-rw-r--r-- | src/order_cmd.cpp | 4 |
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) |