Mercurial > hg > openttd
changeset 33:cbd66d3f2b5c draft
(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)
author | darkvater <darkvater@openttd.org> |
---|---|
date | Thu, 12 Aug 2004 22:29:37 +0000 |
parents | 40e239a132bc |
children | aaccd81400a6 |
files | economy.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/economy.c +++ b/economy.c @@ -992,7 +992,7 @@ /* 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]) &&