diff options
author | rubidium <rubidium@openttd.org> | 2009-05-17 10:35:13 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-17 10:35:13 +0000 |
commit | f457cff73c08b3d338d9a601e84b18aba66e2a64 (patch) | |
tree | 126b97f8660ce42f4c357b8ec271798c2a40a0d5 /src/saveload/town_sl.cpp | |
parent | 6b2f9e8c9edd6a8e5528898db0bbdb884b0221a2 (diff) | |
download | openttd-f457cff73c08b3d338d9a601e84b18aba66e2a64.tar.xz |
(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)
Diffstat (limited to 'src/saveload/town_sl.cpp')
-rw-r--r-- | src/saveload/town_sl.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/saveload/town_sl.cpp b/src/saveload/town_sl.cpp index 2b25356a7..c28f6acac 100644 --- a/src/saveload/town_sl.cpp +++ b/src/saveload/town_sl.cpp @@ -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[] = { |