changeset 8944:24302d526047 draft

(svn r12731) -Fix (r12726): copying a 16bit array into 32bit wouldn't work
author smatz <smatz@openttd.org>
date Tue, 15 Apr 2008 23:07:06 +0000
parents d5c75b8f3503
children cb509cf1b23c
files src/town_cmd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -1301,7 +1301,7 @@
 
 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},