summaryrefslogtreecommitdiff
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
commitdccf5b45093b476a21554f49fc9a5ef132873613 (patch)
tree99b21b7f0eda954cbd7ae7f63b87306120865ab7
parent9d3a08523addb530bec6d02c09c1858856baca2f (diff)
downloadopenttd-dccf5b45093b476a21554f49fc9a5ef132873613.tar.xz
(svn r12731) -Fix (r12726): copying a 16bit array into 32bit wouldn't work
-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},