# HG changeset patch # User truelight # Date 1152902731 0 # Node ID 2f16698d82068a9a57b7d6ccabb09cf7815ae56a # Parent 4454e49d937ad7f26fb3b65dc73c3233d81dfbc0 (svn r5498) -Fix: in r4677, Darkvater ported patch r4508 from trunk wrongly into the 0.4 branch. Because of that stations no longer delivered goods to industries if they were more then 2 tiles away, instead of the allowed station_spread * 2. diff -r 4454e49d937a -r 2f16698d8206 economy.c --- a/economy.c Thu Jul 13 18:20:51 2006 +0000 +++ b/economy.c Fri Jul 14 18:45:31 2006 +0000 @@ -1148,7 +1148,7 @@ == ind->accepts_cargo[1] || cargo_type == ind->accepts_cargo[2]) && ind->produced_cargo[0] != CT_INVALID && ind->produced_cargo[0] != cargo_type && - (t = DistanceManhattan(ind->xy, xy)) < 2) { + (t = DistanceManhattan(ind->xy, xy)) < u) { u = t; best = ind; }