(svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles

This commit is contained in:
rubidium
2010-01-04 18:16:32 +00:00
parent e202a26990
commit 0213d47594
4 changed files with 10 additions and 12 deletions

View File

@@ -124,7 +124,7 @@
Industry *ind = ::Industry::Get(industry_id);
StationList stations;
::FindStationsAroundTiles(ind->xy, ind->width, ind->height, &stations);
::FindStationsAroundTiles(TileArea(ind->xy, ind->width, ind->height), &stations);
return (int32)stations.Length();
}