(svn r34) -Fix [990770] Cargo delivery area patch for bug #989322. If station sign was too far away, there were goods acceptance/delivery issues (Celstar)
authordarkvater
Thu, 12 Aug 2004 22:29:37 +0000
changeset 33 431df1abc34b
parent 32 bc861ea6d23b
child 34 a1bbde8e1f6e
(svn r34) -Fix [990770] Cargo delivery area patch for bug #989322. If station sign was too far away, there were goods acceptance/delivery issues (Celstar)
economy.c
--- a/economy.c	Thu Aug 12 22:06:56 2004 +0000
+++ b/economy.c	Thu Aug 12 22:29:37 2004 +0000
@@ -992,7 +992,7 @@
 	/* Check if there's an industry close to the station that accepts
 	 * the cargo */
 	best = NULL;
-	u = 0x11;
+	u = _patches.station_spread + 8;
 	for(ind = _industries; ind != endof(_industries); ind++) {
 		if (ind->xy != 0 && (cargo_type == ind->accepts_cargo[0] || cargo_type
 				 == ind->accepts_cargo[1] || cargo_type == ind->accepts_cargo[2]) &&