diff options
author | darkvater <darkvater@openttd.org> | 2004-08-12 22:29:37 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-08-12 22:29:37 +0000 |
commit | 5a0a007e45851a33bb84ca52764c1d481203e37c (patch) | |
tree | 86126c764c7563b5ee5ac135e019cc6a31a1649d | |
parent | b70e5a30c14f7d540bb1c5982c27b8ccbf22d909 (diff) | |
download | openttd-5a0a007e45851a33bb84ca52764c1d481203e37c.tar.xz |
(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)
-rw-r--r-- | economy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) && |