summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-04-15 23:07:06 +0000
committersmatz <smatz@openttd.org>2008-04-15 23:07:06 +0000
commit867566f7f03b1124d44c438c67eadcea6803744a (patch)
tree99b21b7f0eda954cbd7ae7f63b87306120865ab7 /src
parent08894026dae4dbc1af1c520e5fc37cd8e24b6f18 (diff)
downloadopenttd-867566f7f03b1124d44c438c67eadcea6803744a.tar.xz
(svn r12731) -Fix (r12726): copying a 16bit array into 32bit wouldn't work
Diffstat (limited to 'src')
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 2c77eb009..410044932 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -1301,7 +1301,7 @@ static bool GrowTown(Town *t)
void UpdateTownRadius(Town *t)
{
- static const uint16 _town_squared_town_zone_radius_data[23][5] = {
+ static const uint32 _town_squared_town_zone_radius_data[23][5] = {
{ 4, 0, 0, 0, 0}, // 0
{ 16, 0, 0, 0, 0},
{ 25, 0, 0, 0, 0},