diff options
author | rubidium <rubidium@openttd.org> | 2010-01-04 18:16:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-04 18:16:32 +0000 |
commit | 71f2789270ca091af14ab4cfd64a4f17234cf007 (patch) | |
tree | 0f36e792e9bb853140257564a530be65751e1ea6 /src/industry_cmd.cpp | |
parent | 31b325baafc0abe02c380af63dd6f5fe86f573fd (diff) | |
download | openttd-71f2789270ca091af14ab4cfd64a4f17234cf007.tar.xz |
(svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles
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 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 |