diff options
author | Mattes D <github@xoft.cz> | 2014-12-21 21:56:34 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-12-21 21:56:34 +0100 |
commit | c9697083e57e7062a68f61b5516b73c412e83004 (patch) | |
tree | abdeb3871f82730aab44f495a793c7523ffd69ec | |
parent | Fixed coverity issues in protocols. (diff) | |
download | cuberite-c9697083e57e7062a68f61b5516b73c412e83004.tar cuberite-c9697083e57e7062a68f61b5516b73c412e83004.tar.gz cuberite-c9697083e57e7062a68f61b5516b73c412e83004.tar.bz2 cuberite-c9697083e57e7062a68f61b5516b73c412e83004.tar.lz cuberite-c9697083e57e7062a68f61b5516b73c412e83004.tar.xz cuberite-c9697083e57e7062a68f61b5516b73c412e83004.tar.zst cuberite-c9697083e57e7062a68f61b5516b73c412e83004.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/Noise3DGenerator.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Generating/Noise3DGenerator.cpp b/src/Generating/Noise3DGenerator.cpp index b43a1a6de..29471f936 100644 --- a/src/Generating/Noise3DGenerator.cpp +++ b/src/Generating/Noise3DGenerator.cpp @@ -379,7 +379,9 @@ cNoise3DComposable::cNoise3DComposable(int a_Seed) : m_ChoiceNoise(a_Seed), m_DensityNoiseA(a_Seed + 1), m_DensityNoiseB(a_Seed + 2), - m_BaseNoise(a_Seed + 3) + m_BaseNoise(a_Seed + 3), + m_LastChunkX(0x7fffffff), // Use dummy coords that won't ever be used by real chunks + m_LastChunkZ(0x7fffffff) { } |