(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)

This commit is contained in:
darkvater 2004-08-12 22:29:37 +00:00
parent b70e5a30c1
commit 5a0a007e45
1 changed files with 1 additions and 1 deletions

View File

@ -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]) &&