summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-06-16 16:00:14 +0200
committerMattes D <github@xoft.cz>2014-06-16 16:00:14 +0200
commit24b0878af753c0873f71c738be0c1ac94f6c062b (patch)
tree01275c7080eb2cc3c821a2a398f8f2d2f78ff47c /src/Chunk.cpp
parentFixed a copypasta error in WormNestCaves generator settings. (diff)
parentAdded override (diff)
downloadcuberite-24b0878af753c0873f71c738be0c1ac94f6c062b.tar
cuberite-24b0878af753c0873f71c738be0c1ac94f6c062b.tar.gz
cuberite-24b0878af753c0873f71c738be0c1ac94f6c062b.tar.bz2
cuberite-24b0878af753c0873f71c738be0c1ac94f6c062b.tar.lz
cuberite-24b0878af753c0873f71c738be0c1ac94f6c062b.tar.xz
cuberite-24b0878af753c0873f71c738be0c1ac94f6c062b.tar.zst
cuberite-24b0878af753c0873f71c738be0c1ac94f6c062b.zip
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r--src/Chunk.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 44fcefbe1..4703e4536 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -64,7 +64,8 @@ sSetBlock::sSetBlock( int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_Bloc
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
+ cChunk * a_NeighborXM, cChunk * a_NeighborXP, cChunk * a_NeighborZM, cChunk * a_NeighborZP,
+ cAllocationPool<cChunkData::sChunkSection> & a_Pool
) :
m_IsValid(false),
m_IsLightValid(false),
@@ -77,6 +78,7 @@ cChunk::cChunk(
m_PosZ(a_ChunkZ),
m_World(a_World),
m_ChunkMap(a_ChunkMap),
+ m_ChunkData(a_Pool),
m_BlockTickX(0),
m_BlockTickY(0),
m_BlockTickZ(0),