(svn r16329) -Fix: possible desync when removing lots of towns in-game (not that we allow removing towns now, but better not have desync prone code lingering around)

This commit is contained in:
rubidium
2009-05-17 10:35:13 +00:00
parent 6b2f9e8c9e
commit f457cff73c
5 changed files with 10 additions and 30 deletions

View File

@@ -189,11 +189,6 @@ static void Load_TOWN()
_total_towns++;
}
/* This is to ensure all pointers are within the limits of
* the size of the TownPool */
if (_cur_town_ctr > GetMaxTownIndex())
_cur_town_ctr = 0;
}
extern const ChunkHandler _town_chunk_handlers[] = {