(svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user