diff options
author | rubidium <rubidium@openttd.org> | 2008-04-07 15:04:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-07 15:04:00 +0000 |
commit | c6e8bf41a18d253d2fe04ea78e8791fae1f4367d (patch) | |
tree | f913c97740d910eb2b722c2cad6b91c6831a8268 /src/order_cmd.cpp | |
parent | 7dc63836ea88662294cf4bde905319521ccdee7b (diff) | |
download | openttd-c6e8bf41a18d253d2fe04ea78e8791fae1f4367d.tar.xz |
(svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order.
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 3f9dc7359..866238734 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -767,7 +767,7 @@ CommandCost CmdModifyOrder(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) if (order->IsType(OT_GOTO_DEPOT)) { order->SetDepotOrderType(order->GetDepotOrderType() ^ OFB_SERVICE_IF_NEEDED); } else { - order->SetLoadType(order->GetUnloadType() ^ OFB_FULL_LOAD); + order->SetLoadType(order->GetLoadType() ^ OFB_FULL_LOAD); order->SetUnloadType(order->GetUnloadType() & ~OFB_UNLOAD); } break; |