summaryrefslogtreecommitdiffstats
path: root/src/Noise.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-21 22:39:53 +0200
committerMattes D <github@xoft.cz>2014-08-21 22:39:53 +0200
commit64fec204c4c5062461a7188b58026d062519b417 (patch)
tree9ffc538cdb5bd581362542a3fa131efb96b4d9db /src/Noise.cpp
parentcSetChunkData: Added missing initializers. (diff)
downloadcuberite-64fec204c4c5062461a7188b58026d062519b417.tar
cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.gz
cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.bz2
cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.lz
cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.xz
cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.zst
cuberite-64fec204c4c5062461a7188b58026d062519b417.zip
Diffstat (limited to '')
-rw-r--r--src/Noise.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Noise.cpp b/src/Noise.cpp
index 507d05ea5..71e801f30 100644
--- a/src/Noise.cpp
+++ b/src/Noise.cpp
@@ -146,6 +146,8 @@ cCubicCell2D::cCubicCell2D(
) :
m_Noise(a_Noise),
m_WorkRnds(&m_Workspace1),
+ m_CurFloorX(0),
+ m_CurFloorY(0),
m_Array(a_Array),
m_SizeX(a_SizeX),
m_SizeY(a_SizeY),
@@ -300,6 +302,9 @@ cCubicCell3D::cCubicCell3D(
) :
m_Noise(a_Noise),
m_WorkRnds(&m_Workspace1),
+ m_CurFloorX(0),
+ m_CurFloorY(0),
+ m_CurFloorZ(0),
m_Array(a_Array),
m_SizeX(a_SizeX),
m_SizeY(a_SizeY),