summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
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 0c329bd8e..d67f0c031 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -2066,7 +2066,7 @@ static int WhoCanServiceIndustry(Industry *ind)
{
/* Find all stations within reach of the industry */
StationList stations;
- FindStationsAroundTiles(ind->xy, ind->width, ind->height, &stations);
+ FindStationsAroundTiles(TileArea(ind->xy, ind->width, ind->height), &stations);
if (stations.Length() == 0) return 0; // No stations found at all => nobody services