mirror of https://github.com/OpenTTD/OpenTTD.git
(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:
parent
b70e5a30c1
commit
5a0a007e45
|
@ -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]) &&
|
||||
|
|
Loading…
Reference in New Issue