(svn r18715) -Codechange: make StationFinder a subclass of TileArea

This commit is contained in:
rubidium
2010-01-04 18:12:10 +00:00
parent 8b88bb0c9b
commit 31b325baaf
5 changed files with 7 additions and 12 deletions

View File

@@ -343,7 +343,7 @@ static void TileLoop_Unmovable(TileIndex tile)
uint level = GetCompanyHQSize(tile) + 1;
assert(level < 6);
StationFinder stations(tile, 2, 2);
StationFinder stations(TileArea(tile, 2, 2));
uint r = Random();
/* Top town buildings generate 250, so the top HQ type makes 256. */