cEndGen: Fixed unitialized member variables.
Fixes CID 43671.
This commit is contained in:
parent
c9697083e5
commit
fe00c99c95
@ -39,7 +39,9 @@ cEndGen::cEndGen(int a_Seed) :
|
|||||||
m_IslandSizeZ(256),
|
m_IslandSizeZ(256),
|
||||||
m_FrequencyX(80),
|
m_FrequencyX(80),
|
||||||
m_FrequencyY(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(1, 1);
|
||||||
m_Perlin.AddOctave(2, 0.5);
|
m_Perlin.AddOctave(2, 0.5);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user