diff options
author | frosch <frosch@openttd.org> | 2008-11-22 15:48:43 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-11-22 15:48:43 +0000 |
commit | b759ccd0324cbb5aed606fffb5bcf8f1b494bbe5 (patch) | |
tree | 13043892b449620aed1491b560632b769676dba1 /src/industry_cmd.cpp | |
parent | 6e93e611c8f64c38d83e5ebd45abb59913c22dcc (diff) | |
download | openttd-b759ccd0324cbb5aed606fffb5bcf8f1b494bbe5.tar.xz |
(svn r14604) -Codechange: Simplify a function and rename it, and fix some comments.
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index a9e73e270..28049348b 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1966,7 +1966,7 @@ static void CanCargoServiceIndustry(CargoID cargo, Industry *ind, bool *c_accept int WhoCanServiceIndustry(Industry* ind) { /* Find all stations within reach of the industry */ - StationSet stations = FindStationsAroundIndustryTile(ind->xy, ind->width, ind->height); + StationSet stations = FindStationsAroundTiles(ind->xy, ind->width, ind->height); if (stations.size() == 0) return 0; // No stations found at all => nobody services |