(svn r18715) -Codechange: make StationFinder a subclass of TileArea
This commit is contained in:
@@ -509,7 +509,7 @@ static void TransportIndustryGoods(TileIndex tile)
|
||||
const IndustrySpec *indspec = GetIndustrySpec(i->type);
|
||||
bool moved_cargo = false;
|
||||
|
||||
StationFinder stations(i->xy, i->width, i->height);
|
||||
StationFinder stations(TileArea(i->xy, i->width, i->height));
|
||||
|
||||
for (uint j = 0; j < lengthof(i->produced_cargo_waiting); j++) {
|
||||
uint cw = min(i->produced_cargo_waiting[j], 255);
|
||||
|
Reference in New Issue
Block a user