summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-11-22 15:48:43 +0000
committerfrosch <frosch@openttd.org>2008-11-22 15:48:43 +0000
commitb759ccd0324cbb5aed606fffb5bcf8f1b494bbe5 (patch)
tree13043892b449620aed1491b560632b769676dba1 /src/industry_cmd.cpp
parent6e93e611c8f64c38d83e5ebd45abb59913c22dcc (diff)
downloadopenttd-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.cpp2
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