diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-08-10 22:36:02 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-08-10 22:36:02 +0200 |
commit | d95768d01a93a14df38f6e0e33ca180b779c5df0 (patch) | |
tree | 16412805d255206f91c4eece1aa2a98104ab2df6 /src/Generating/StructGen.cpp | |
parent | Added NaturalPatches generator (diff) | |
download | cuberite-d95768d01a93a14df38f6e0e33ca180b779c5df0.tar cuberite-d95768d01a93a14df38f6e0e33ca180b779c5df0.tar.gz cuberite-d95768d01a93a14df38f6e0e33ca180b779c5df0.tar.bz2 cuberite-d95768d01a93a14df38f6e0e33ca180b779c5df0.tar.lz cuberite-d95768d01a93a14df38f6e0e33ca180b779c5df0.tar.xz cuberite-d95768d01a93a14df38f6e0e33ca180b779c5df0.tar.zst cuberite-d95768d01a93a14df38f6e0e33ca180b779c5df0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/StructGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/StructGen.cpp b/src/Generating/StructGen.cpp index 1a43f2b2e..731324b0d 100644 --- a/src/Generating/StructGen.cpp +++ b/src/Generating/StructGen.cpp @@ -276,7 +276,7 @@ void cStructGenOreNests::GenFinish(cChunkDesc & a_ChunkDesc) int seq = 1; // Generate the ores from the ore list. - for (OreList::iterator itr = m_OreList.begin(); itr != m_OreList.end(); ++itr) + for (OreList::const_iterator itr = m_OreList.begin(); itr != m_OreList.end(); ++itr) { GenerateOre(ChunkX, ChunkZ, itr->BlockType, itr->MaxHeight, itr->NumNests, itr->NestSize, BlockTypes, seq); seq++; |