Mercurial > hg > openttd
changeset 8851:489e8eddb3e7 draft
(svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 07 Apr 2008 15:04:00 +0000 |
parents | 4859a9c43de3 |
children | 33c1c0e676a3 |
files | src/order_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -767,7 +767,7 @@ 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;