diff options
Diffstat (limited to 'source/Caves.cpp')
-rw-r--r-- | source/Caves.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Caves.cpp b/source/Caves.cpp index e06539f0f..994e57c86 100644 --- a/source/Caves.cpp +++ b/source/Caves.cpp @@ -797,7 +797,7 @@ void cStructGenWormNestCaves::GetCavesForChunk(int a_ChunkX, int a_ChunkZ, cStru {
cCaveSystems::iterator itr = m_Cache.begin();
std::advance(itr, 100);
- for (cCaveSystems::const_iterator end = m_Cache.end(); itr != end; ++itr)
+ for (cCaveSystems::iterator end = m_Cache.end(); itr != end; ++itr)
{
delete *itr;
}
|