summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Kirilenko <kirill@ultracoder.org>2015-01-23 16:55:04 +0100
committerKirill Kirilenko <kirill@ultracoder.org>2015-01-23 17:06:27 +0100
commitce2d3280cabc486f136380db91ea903e866f9bfe (patch)
treefd2055f992e224a51c0928688ac9721f99ff460c
parentFixed defect #73101 in Coverity list. (diff)
downloadcuberite-ce2d3280cabc486f136380db91ea903e866f9bfe.tar
cuberite-ce2d3280cabc486f136380db91ea903e866f9bfe.tar.gz
cuberite-ce2d3280cabc486f136380db91ea903e866f9bfe.tar.bz2
cuberite-ce2d3280cabc486f136380db91ea903e866f9bfe.tar.lz
cuberite-ce2d3280cabc486f136380db91ea903e866f9bfe.tar.xz
cuberite-ce2d3280cabc486f136380db91ea903e866f9bfe.tar.zst
cuberite-ce2d3280cabc486f136380db91ea903e866f9bfe.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/Noise3DGenerator.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Generating/Noise3DGenerator.cpp b/src/Generating/Noise3DGenerator.cpp
index 29471f936..eadc66a4e 100644
--- a/src/Generating/Noise3DGenerator.cpp
+++ b/src/Generating/Noise3DGenerator.cpp
@@ -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)
{