(svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order.

pull/155/head
rubidium 17 years ago
parent 7dc63836ea
commit c6e8bf41a1

@ -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;

Loading…
Cancel
Save