mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
This commit is contained in:
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
|
||||
* 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user