summaryrefslogtreecommitdiff
path: root/src
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
commit76b1a664980b2c264183524d5a020153b3083d76 (patch)
treed1b75b826564175cbb91e4c1c32850c18d7f8856 /src
parent1360c8c116b1fc3c8b18a5176e399b70b7c097ce (diff)
downloadopenttd-76b1a664980b2c264183524d5a020153b3083d76.tar.xz
(svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
Diffstat (limited to 'src')
-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;
}