src/openttd.cpp
changeset 8787 3cf49b620b77
parent 8772 8ae63fc3bbfb
child 8799 e0867e763d41
equal deleted inserted replaced
8786:f626bd77974a 8787:3cf49b620b77
  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)) {