From 5a0a007e45851a33bb84ca52764c1d481203e37c Mon Sep 17 00:00:00 2001 From: darkvater Date: Thu, 12 Aug 2004 22:29:37 +0000 Subject: [PATCH] (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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/economy.c b/economy.c index e7d7d096ef..ffc4a02d54 100644 --- a/economy.c +++ b/economy.c @@ -992,7 +992,7 @@ static void DeliverGoodsToIndustry(TileIndex xy, byte cargo_type, int num_pieces /* 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]) &&