diff options
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 5fd794275..3c3117095 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1992,7 +1992,8 @@ static void CanCargoServiceIndustry(CargoID cargo, Industry *ind, bool *c_accept int WhoCanServiceIndustry(Industry *ind) { /* Find all stations within reach of the industry */ - StationList stations = FindStationsAroundTiles(ind->xy, ind->width, ind->height); + StationList stations; + FindStationsAroundTiles(ind->xy, ind->width, ind->height, &stations); if (stations.Length() == 0) return 0; // No stations found at all => nobody services |