equal
deleted
inserted
replaced
2016 } |
2016 } |
2017 } |
2017 } |
2018 } |
2018 } |
2019 } |
2019 } |
2020 |
2020 |
2021 /* Count the buildings after updating the map array. */ |
2021 /* Check that house ids are still valid. */ |
2022 AfterLoadCountBuildings(); |
2022 CheckHouseIDs(); |
2023 |
2023 |
2024 if (CheckSavegameVersion(43)) { |
2024 if (CheckSavegameVersion(43)) { |
2025 for (TileIndex t = 0; t < map_size; t++) { |
2025 for (TileIndex t = 0; t < map_size; t++) { |
2026 if (IsTileType(t, MP_INDUSTRY)) { |
2026 if (IsTileType(t, MP_INDUSTRY)) { |
2027 switch (GetIndustryGfx(t)) { |
2027 switch (GetIndustryGfx(t)) { |