From 932a968af2d21c4beced4b5e62778587af092924 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 26 May 2007 09:13:59 +0000 Subject: (svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations. --- src/economy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2