Codechange: migrate size related functions to Map structure
This commit is contained in:
@@ -106,7 +106,7 @@ void AfterLoadCompanyStats()
|
||||
}
|
||||
|
||||
Company *c;
|
||||
for (TileIndex tile = 0; tile < MapSize(); tile++) {
|
||||
for (TileIndex tile = 0; tile < Map::Size(); tile++) {
|
||||
switch (GetTileType(tile)) {
|
||||
case MP_RAILWAY:
|
||||
c = Company::GetIfValid(GetTileOwner(tile));
|
||||
|
Reference in New Issue
Block a user