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

(cherry picked from commit 6643c010bd)
This commit is contained in:
PeterN
2023-09-10 18:55:37 +01:00
committed by Jonathan G Rennison
parent 1637f6f6b0
commit 89b84222d3
3 changed files with 9 additions and 1 deletions

View File

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