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 | 77dca1f02317e008222a3c64a1d2b5c09b65a628 (patch) | |
tree | f913c97740d910eb2b722c2cad6b91c6831a8268 /src | |
parent | ac389e16d2407b16b57ef7071d4546ed6616cada (diff) | |
download | openttd-77dca1f02317e008222a3c64a1d2b5c09b65a628.tar.xz |
(svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order.
Diffstat (limited to 'src')
-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; |