summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-20 19:50:47 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-20 19:50:47 +0100
commit9c575681f88064a57fc1151c1f1f96f4a6b2fdd5 (patch)
treeded712c5732afc72427714ca40a04da87d24386a /src/Chunk.cpp
parentIncreased the range an Floater can shoot to. (diff)
parentFixed the rest of constructor reorders. (diff)
downloadcuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar.gz
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar.bz2
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar.lz
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar.xz
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar.zst
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.zip
Diffstat (limited to 'src/Chunk.cpp')
-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)
{