OctavedNoise: linux compilation fixes.
This commit is contained in:
parent
e9082263c9
commit
8c54fc0f7d
@ -121,6 +121,7 @@ SET (HDRS
|
||||
MobSpawner.h
|
||||
MonsterConfig.h
|
||||
Noise.h
|
||||
OctavedNoise.h
|
||||
ProbabDistrib.h
|
||||
RankManager.h
|
||||
RCONServer.h
|
||||
|
@ -80,7 +80,7 @@ public:
|
||||
}
|
||||
|
||||
// Add each octave:
|
||||
for (cOctaves::const_iterator itr = m_Octaves.begin() + 1, end = m_Octaves.end(); itr != end; ++itr)
|
||||
for (auto itr = m_Octaves.cbegin() + 1, end = m_Octaves.cend(); itr != end; ++itr)
|
||||
{
|
||||
// Generate the noise for the octave:
|
||||
itr->m_Noise.Generate2D(
|
||||
@ -139,7 +139,7 @@ public:
|
||||
}
|
||||
|
||||
// Add each octave:
|
||||
for (cOctaves::const_iterator itr = m_Octaves.begin() + 1, end = m_Octaves.end(); itr != end; ++itr)
|
||||
for (auto itr = m_Octaves.cbegin() + 1, end = m_Octaves.cend(); itr != end; ++itr)
|
||||
{
|
||||
// Generate the noise for the octave:
|
||||
itr->m_Noise.Generate3D(
|
||||
|
Loading…
Reference in New Issue
Block a user