summaryrefslogtreecommitdiffstats
path: root/src/Generating/EndGen.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Generating/EndGen.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Generating/EndGen.cpp b/src/Generating/EndGen.cpp
index 89d6117bb..c559e765f 100644
--- a/src/Generating/EndGen.cpp
+++ b/src/Generating/EndGen.cpp
@@ -39,7 +39,13 @@ cEndGen::cEndGen(int a_Seed) :
m_IslandSizeZ(256),
m_FrequencyX(80),
m_FrequencyY(80),
- m_FrequencyZ(80)
+ m_FrequencyZ(80),
+ m_MinChunkX(0),
+ m_MaxChunkX(0),
+ m_MinChunkZ(0),
+ m_MaxChunkZ(0),
+ 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);