Fix: NewGRF house class mappings were not reset between games. (#11279)

This commit is contained in:
PeterN
2023-09-10 18:55:37 +01:00
committed by GitHub
parent 1c620b349f
commit 6643c010bd
3 changed files with 9 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ struct HouseClassMapping {
uint8_t class_id; ///< The class id within the grf file
};
void ResetHouseClassIDs();
HouseClassID AllocateHouseClassID(byte grf_class_id, uint32_t grfid);
void InitializeBuildingCounts();