From 71f2789270ca091af14ab4cfd64a4f17234cf007 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 4 Jan 2010 18:16:32 +0000 Subject: (svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles --- src/industry_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/industry_cmd.cpp') 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 -- cgit v1.2.3-70-g09d2