summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--economy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/economy.c b/economy.c
index e7d7d096e..ffc4a02d5 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]) &&