Skip to content

Commit

Permalink
Fixed defect #43665 in Coverity list.
Browse files Browse the repository at this point in the history
  • Loading branch information
UltraCoderRU committed Jan 23, 2015
1 parent 0288e90 commit ce2d328
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Generating/Noise3DGenerator.cpp
Expand Up @@ -380,6 +380,17 @@ cNoise3DComposable::cNoise3DComposable(int a_Seed) :
m_DensityNoiseA(a_Seed + 1),
m_DensityNoiseB(a_Seed + 2),
m_BaseNoise(a_Seed + 3),
m_HeightAmplification(0.0),
m_MidPoint(0.0),
m_FrequencyX(0.0),
m_FrequencyY(0.0),
m_FrequencyZ(0.0),
m_BaseFrequencyX(0.0),
m_BaseFrequencyZ(0.0),
m_ChoiceFrequencyX(0.0),
m_ChoiceFrequencyY(0.0),
m_ChoiceFrequencyZ(0.0),
m_AirThreshold(0.0),
m_LastChunkX(0x7fffffff), // Use dummy coords that won't ever be used by real chunks
m_LastChunkZ(0x7fffffff)
{
Expand Down

0 comments on commit ce2d328

Please sign in to comment.