mirror of https://github.com/OpenTTD/OpenTTD
(svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
parent
ceae5eaeba
commit
932a968af2
|
@ -1582,7 +1582,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
|
||||||
|
|
||||||
/* Skip loading this vehicle if another train/vehicle is already handling
|
/* Skip loading this vehicle if another train/vehicle is already handling
|
||||||
* the same cargo type at this station */
|
* 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);
|
SETBIT(cargo_not_full, v->cargo_type);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue