From ad579912f4be16f7333553d43e3712ea541c2350 Mon Sep 17 00:00:00 2001 From: pasky Date: Thu, 17 Mar 2005 23:12:23 +0000 Subject: (svn r2021) Fix: Enlarge _cur_town_ctr from byte to uint32 so that all the towns are considered when growing them even for big maps, where much more than 256 towns are around; reported by Tomasz DubiƄski . The savegame still saves just the lowest 8 bits but that doesn't hurt so much. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- variables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'variables.h') diff --git a/variables.h b/variables.h index 575f7920e..68fc02c19 100644 --- a/variables.h +++ b/variables.h @@ -84,7 +84,7 @@ VARDEF uint32 _random_seeds[2][2]; VARDEF uint32 _player_seeds[MAX_PLAYERS][2]; // Iterator through all towns in OnTick_Town -VARDEF byte _cur_town_ctr; +VARDEF uint32 _cur_town_ctr; VARDEF uint _cur_player_tick_index; VARDEF uint _next_competitor_start; -- cgit v1.2.3-54-g00ecf