summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-26 09:13:59 +0000
committerrubidium <rubidium@openttd.org>2007-05-26 09:13:59 +0000
commit932a968af2d21c4beced4b5e62778587af092924 (patch)
treed1b75b826564175cbb91e4c1c32850c18d7f8856
parentceae5eaeba5adf566a121bd98c6f940c3b17895b (diff)
downloadopenttd-932a968af2d21c4beced4b5e62778587af092924.tar.xz
(svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
-rw-r--r--src/economy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 989500147..d57cf5314 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -1582,7 +1582,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
/* Skip loading this vehicle if another train/vehicle is already handling
* the same cargo type at this station */
- if (_patches.improved_load && cargo_left[v->cargo_type] < 0) {
+ if (_patches.improved_load && cargo_left[v->cargo_type] <= 0) {
SETBIT(cargo_not_full, v->cargo_type);
continue;
}