summaryrefslogtreecommitdiffstats
path: root/source/Caves.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-29 22:42:35 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-29 22:42:35 +0200
commitf670ff3690a78ae3a370904e166c75c7de497539 (patch)
treeade85fbd0b3323dbb6ced940c33adaa8912e1196 /source/Caves.cpp
parentDistortedVoronoi BiomeGen now uses 4x4 linear interpolation for distortion, 50 % speed increase in the chunk generator with a hardly noticeable change in biome shapes. (diff)
downloadcuberite-f670ff3690a78ae3a370904e166c75c7de497539.tar
cuberite-f670ff3690a78ae3a370904e166c75c7de497539.tar.gz
cuberite-f670ff3690a78ae3a370904e166c75c7de497539.tar.bz2
cuberite-f670ff3690a78ae3a370904e166c75c7de497539.tar.lz
cuberite-f670ff3690a78ae3a370904e166c75c7de497539.tar.xz
cuberite-f670ff3690a78ae3a370904e166c75c7de497539.tar.zst
cuberite-f670ff3690a78ae3a370904e166c75c7de497539.zip
Diffstat (limited to 'source/Caves.cpp')
-rw-r--r--source/Caves.cpp2
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;
}