Mercurial > hg > openttd
changeset 19657:1f69c36bb62d draft
(svn r24566) -Codechange: Reorder some code more intuitively. (Juanjo)
author | frosch <frosch@openttd.org> |
---|---|
date | Mon, 01 Oct 2012 19:38:08 +0000 |
parents | f681f6d5dc24 |
children | 39a000d09276 |
files | src/economy.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/economy.cpp +++ b/src/economy.cpp @@ -1326,8 +1326,8 @@ if ((front->current_order.GetUnloadType() & (OUFB_UNLOAD | OUFB_TRANSFER)) && (!accepted || v->cargo.Count() == cargo_count)) { remaining = v->cargo.MoveTo(&ge->cargo, amount_unloaded, front->current_order.GetUnloadType() & OUFB_TRANSFER ? VehicleCargoList::MTA_TRANSFER : VehicleCargoList::MTA_UNLOAD, payment); if (!HasBit(ge->acceptance_pickup, GoodsEntry::GES_PICKUP)) { + SetBit(ge->acceptance_pickup, GoodsEntry::GES_PICKUP); InvalidateWindowData(WC_STATION_LIST, last_visited); - SetBit(ge->acceptance_pickup, GoodsEntry::GES_PICKUP); } dirty_vehicle = dirty_station = true;