summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp4
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;