From 77dca1f02317e008222a3c64a1d2b5c09b65a628 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 7 Apr 2008 15:04:00 +0000 Subject: [PATCH] (svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order. --- src/order_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 3f9dc7359d..866238734a 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;