summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authortycho <tycho@hanoverdesktop>2014-09-26 18:00:34 +0200
committertycho <tycho@hanoverdesktop>2014-09-26 18:00:34 +0200
commitad5d0eda9c35a7f4a00e11743f545d057d188a8c (patch)
tree61d228ac8fb2bf00635726026bbddc1cb265a5c7 /src/Chunk.cpp
parentMerge pull request #1419 from mc-server/redstoneTests (diff)
downloadcuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar
cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar.gz
cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar.bz2
cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar.lz
cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar.xz
cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar.zst
cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.zip
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r--src/Chunk.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index a7dec3fe3..06260bead 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -91,6 +91,7 @@ cChunk::cChunk(
m_NeighborZP(a_NeighborZP),
m_WaterSimulatorData(a_World->GetWaterSimulator()->CreateChunkData()),
m_LavaSimulatorData (a_World->GetLavaSimulator ()->CreateChunkData()),
+ m_RedstoneSimulatorData(NULL),
m_AlwaysTicked(0)
{
if (a_NeighborXM != NULL)
@@ -159,6 +160,8 @@ cChunk::~cChunk()
m_WaterSimulatorData = NULL;
delete m_LavaSimulatorData;
m_LavaSimulatorData = NULL;
+ delete m_RedstoneSimulatorData;
+ m_RedstoneSimulatorData = NULL;
}