diff options
author | madmaxoft <github@xoft.cz> | 2014-04-12 22:35:04 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-12 22:35:04 +0200 |
commit | 34cf058b0257587456632536a54db0d4e119dae1 (patch) | |
tree | 4bad77edfc6c1c7302df9bf218c65567dd348fb8 /src/LightingThread.cpp | |
parent | Fixed chunkstays not being removed on auto-delete. (diff) | |
download | cuberite-ProtoProxy_1.7.2_001.tar cuberite-ProtoProxy_1.7.2_001.tar.gz cuberite-ProtoProxy_1.7.2_001.tar.bz2 cuberite-ProtoProxy_1.7.2_001.tar.lz cuberite-ProtoProxy_1.7.2_001.tar.xz cuberite-ProtoProxy_1.7.2_001.tar.zst cuberite-ProtoProxy_1.7.2_001.zip |
Diffstat (limited to 'src/LightingThread.cpp')
-rw-r--r-- | src/LightingThread.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/LightingThread.cpp b/src/LightingThread.cpp index 302473d71..5ba2940d2 100644 --- a/src/LightingThread.cpp +++ b/src/LightingThread.cpp @@ -286,6 +286,7 @@ void cLightingThread::LightChunk(cLightingChunkStay & a_Item) { a_Item.m_CallbackAfter->Call(a_Item.m_ChunkX, a_Item.m_ChunkZ); } + a_Item.Disable(); delete &a_Item; } |