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 | 85354456b9c70944c5629a9dc53aa03a7a506532 (patch) | |
tree | eabe3cd53769c9f05188b9101baaca70195500c1 | |
parent | 0e40b1013cf8f5c4bea127b4cdeb215073556705 (diff) | |
download | openttd-85354456b9c70944c5629a9dc53aa03a7a506532.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) |