1
0

Bunch of tweaks:

Renamed Quarts to Quartz
Using const_iterator instead of iterator
Used CheckBasicStyle script to find style errors
This commit is contained in:
STRWarrior
2014-08-10 22:36:02 +02:00
parent e529401dbb
commit d95768d01a
3 changed files with 15 additions and 15 deletions

View File

@@ -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++;