Increase church/stadium count field size, fix save/load

Fix too many error message
This commit is contained in:
Jonathan G Rennison
2020-08-03 20:21:02 +01:00
parent 4a21fafd5c
commit 1fd9c929ef
4 changed files with 8 additions and 5 deletions

View File

@@ -65,8 +65,8 @@ struct Town : TownPool::PoolItem<&_town_pool> {
mutable std::string cached_name; ///< NOSAVE: Cache of the resolved name of the town, if not using a custom town name
byte flags; ///< See #TownFlags.
byte church_count; ///< Number of church buildings in the town.
byte stadium_count; ///< Number of stadium buildings in the town.
uint16 church_count; ///< Number of church buildings in the town.
uint16 stadium_count; ///< Number of stadium buildings in the town.
uint16 noise_reached; ///< level of noise that all the airports are generating