(svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
authorrubidium
Sat, 26 May 2007 09:13:59 +0000
changeset 7194 b9f7550dcf17
parent 7193 e0cdd5c824dd
child 7195 6edfafb988be
(svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
src/economy.cpp
--- a/src/economy.cpp	Sat May 26 07:58:49 2007 +0000
+++ b/src/economy.cpp	Sat May 26 09:13:59 2007 +0000
@@ -1582,7 +1582,7 @@
 
 			/* 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;
 			}