summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-20 19:10:07 +0100
committermadmaxoft <github@xoft.cz>2013-12-20 19:10:15 +0100
commitf5e6124ee06f2c42f921391c186800adbeb8bc05 (patch)
tree00c5ce40307762bb6466889f22c3a5d888ebd3b7 /src/Chunk.cpp
parentOr not. Fixes #384 (diff)
downloadcuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar
cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar.gz
cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar.bz2
cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar.lz
cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar.xz
cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar.zst
cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.cpp41
1 files changed, 21 insertions, 20 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 3ae4e36be..3c44b91d0 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -63,26 +63,27 @@ cChunk::cChunk(
int a_ChunkX, int a_ChunkY, int a_ChunkZ,
cChunkMap * a_ChunkMap, cWorld * a_World,
cChunk * a_NeighborXM, cChunk * a_NeighborXP, cChunk * a_NeighborZM, cChunk * a_NeighborZP
-)
- : m_PosX( a_ChunkX )
- , m_PosY( a_ChunkY )
- , m_PosZ( a_ChunkZ )
- , m_BlockTickX( 0 )
- , m_BlockTickY( 0 )
- , m_BlockTickZ( 0 )
- , m_World( a_World )
- , m_ChunkMap(a_ChunkMap)
- , m_IsValid(false)
- , m_IsLightValid(false)
- , m_IsDirty(false)
- , m_IsSaving(false)
- , m_StayCount(0)
- , m_NeighborXM(a_NeighborXM)
- , m_NeighborXP(a_NeighborXP)
- , m_NeighborZM(a_NeighborZM)
- , m_NeighborZP(a_NeighborZP)
- , m_WaterSimulatorData(a_World->GetWaterSimulator()->CreateChunkData())
- , m_LavaSimulatorData (a_World->GetLavaSimulator ()->CreateChunkData())
+) :
+ m_IsValid(false),
+ m_IsLightValid(false),
+ m_IsDirty(false),
+ m_IsSaving(false),
+ m_HasLoadFailed(false),
+ m_StayCount(0),
+ m_PosX(a_ChunkX),
+ m_PosY(a_ChunkY),
+ m_PosZ(a_ChunkZ),
+ m_World(a_World),
+ m_ChunkMap(a_ChunkMap),
+ m_BlockTickX(0),
+ m_BlockTickY(0),
+ m_BlockTickZ(0),
+ m_NeighborXM(a_NeighborXM),
+ m_NeighborXP(a_NeighborXP),
+ m_NeighborZM(a_NeighborZM),
+ m_NeighborZP(a_NeighborZP),
+ m_WaterSimulatorData(a_World->GetWaterSimulator()->CreateChunkData()),
+ m_LavaSimulatorData (a_World->GetLavaSimulator ()->CreateChunkData())
{
if (a_NeighborXM != NULL)
{