cNoise3DComposable: Fixed unitialized member variables.
Fixes CID 43665.
This commit is contained in:
parent
d4c3821eca
commit
c9697083e5
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user