(svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in towns.

This commit is contained in:
rubidium
2008-04-15 22:27:28 +00:00
parent 91e53e23ca
commit 08894026da
3 changed files with 25 additions and 27 deletions

View File

@@ -163,7 +163,7 @@ struct Town : PoolItem<Town, TownID, &_Town_pool> {
bool larger_town;
/* NOSAVE: UpdateTownRadius updates this given the house count. */
uint16 radius[HZB_END];
uint32 squared_town_zone_radius[HZB_END];
/* NOSAVE: The number of each type of building in the town. */
BuildingCounts building_counts;