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 | 4ad8b95dccc6aca8bc10477bce25dd7e676d9a55 (patch) | |
tree | a4267fd1d72f67329eb453e9bc4ac543511be188 /src/economy.cpp | |
parent | 3badd389149c4b2fda55d115453067831f9b75a8 (diff) | |
download | openttd-4ad8b95dccc6aca8bc10477bce25dd7e676d9a55.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; |