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

This commit is contained in:
rubidium 2008-04-07 15:04:00 +00:00
parent ac389e16d2
commit 77dca1f023
1 changed files with 1 additions and 1 deletions

View File

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