diff options
author | Mattes D <github@xoft.cz> | 2014-08-21 22:39:53 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-21 22:39:53 +0200 |
commit | 64fec204c4c5062461a7188b58026d062519b417 (patch) | |
tree | 9ffc538cdb5bd581362542a3fa131efb96b4d9db /src/Generating/HeiGen.cpp | |
parent | cSetChunkData: Added missing initializers. (diff) | |
download | cuberite-64fec204c4c5062461a7188b58026d062519b417.tar cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.gz cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.bz2 cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.lz cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.xz cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.zst cuberite-64fec204c4c5062461a7188b58026d062519b417.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/HeiGen.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Generating/HeiGen.cpp b/src/Generating/HeiGen.cpp index c3f3b38a9..79d529a6a 100644 --- a/src/Generating/HeiGen.cpp +++ b/src/Generating/HeiGen.cpp @@ -239,7 +239,13 @@ bool cHeiGenCache::GetHeightAt(int a_ChunkX, int a_ChunkZ, int a_RelX, int a_Rel cHeiGenClassic::cHeiGenClassic(int a_Seed) : m_Seed(a_Seed), - m_Noise(a_Seed) + m_Noise(a_Seed), + m_HeightFreq1(1.0f), + m_HeightAmp1(1.0f), + m_HeightFreq2(0.5f), + m_HeightAmp2(0.5f), + m_HeightFreq3(0.1f), + m_HeightAmp3(0.1f) { } |