diff options
author | rubidium <rubidium@openttd.org> | 2008-04-10 17:23:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-10 17:23:51 +0000 |
commit | ba0a5814c2f36f6dca68d094882e5240b7635b74 (patch) | |
tree | a4267fd1d72f67329eb453e9bc4ac543511be188 /src/economy.cpp | |
parent | 63116691a9ff1eaa541a350fcd11a474dac4a095 (diff) | |
download | openttd-ba0a5814c2f36f6dca68d094882e5240b7635b74.tar.xz |
(svn r12652) -Codechange: rework the order GUI a little more to make it a little more clear that 'transfer' is just an unload type.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 34448af5f..9c4b5e079 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -1637,8 +1637,8 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left) continue; } - /* Do not pick up goods that we unloaded */ - if ((u->current_order.GetUnloadType() & OUFB_UNLOAD) || (u->current_order.GetLoadType() & OLFB_NO_LOAD)) continue; + /* Do not pick up goods when we have no-load set. */ + if (u->current_order.GetLoadType() & OLFB_NO_LOAD) continue; /* update stats */ int t; |