summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-15 22:27:28 +0000
committerrubidium <rubidium@openttd.org>2008-04-15 22:27:28 +0000
commit9d3a08523addb530bec6d02c09c1858856baca2f (patch)
treeb984bc7889cfdc2c91f3964301cf6d325ac896ea /src/town.h
parent9346e067f39870943d979ae5deb82f831190dc25 (diff)
downloadopenttd-9d3a08523addb530bec6d02c09c1858856baca2f.tar.xz
(svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in towns.
Diffstat (limited to 'src/town.h')
-rw-r--r--src/town.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town.h b/src/town.h
index 9e01b7771..e85307edd 100644
--- a/src/town.h
+++ b/src/town.h
@@ -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;