summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-21 21:59:44 +0100
committerMattes D <github@xoft.cz>2014-12-21 21:59:44 +0100
commitfe00c99c9518be022f8faaa52899e68fc0738ce4 (patch)
tree47079aceb957f246b1a4150a137b5712de92d4e1 /src
parentcNoise3DComposable: Fixed unitialized member variables. (diff)
downloadcuberite-fe00c99c9518be022f8faaa52899e68fc0738ce4.tar
cuberite-fe00c99c9518be022f8faaa52899e68fc0738ce4.tar.gz
cuberite-fe00c99c9518be022f8faaa52899e68fc0738ce4.tar.bz2
cuberite-fe00c99c9518be022f8faaa52899e68fc0738ce4.tar.lz
cuberite-fe00c99c9518be022f8faaa52899e68fc0738ce4.tar.xz
cuberite-fe00c99c9518be022f8faaa52899e68fc0738ce4.tar.zst
cuberite-fe00c99c9518be022f8faaa52899e68fc0738ce4.zip
Diffstat (limited to 'src')
-rw-r--r--src/Generating/EndGen.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Generating/EndGen.cpp b/src/Generating/EndGen.cpp
index 89d6117bb..bc26edb20 100644
--- a/src/Generating/EndGen.cpp
+++ b/src/Generating/EndGen.cpp
@@ -39,7 +39,9 @@ cEndGen::cEndGen(int a_Seed) :
m_IslandSizeZ(256),
m_FrequencyX(80),
m_FrequencyY(80),
- m_FrequencyZ(80)
+ m_FrequencyZ(80),
+ m_LastChunkX(0x7fffffff), // Use dummy coords that won't ever be used by real chunks
+ m_LastChunkZ(0x7fffffff)
{
m_Perlin.AddOctave(1, 1);
m_Perlin.AddOctave(2, 0.5);