diff options
author | madmaxoft <github@xoft.cz> | 2014-02-10 22:47:10 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-02-10 22:47:10 +0100 |
commit | 9cebc9157cf43ba639227b9d79b980b3613dda1e (patch) | |
tree | 9c61bbee8a94668703c316f1c300187d247093f9 /src/LightingThread.cpp | |
parent | cLuaState: Stack traces don't include ghost 0-th element. (diff) | |
download | cuberite-9cebc9157cf43ba639227b9d79b980b3613dda1e.tar cuberite-9cebc9157cf43ba639227b9d79b980b3613dda1e.tar.gz cuberite-9cebc9157cf43ba639227b9d79b980b3613dda1e.tar.bz2 cuberite-9cebc9157cf43ba639227b9d79b980b3613dda1e.tar.lz cuberite-9cebc9157cf43ba639227b9d79b980b3613dda1e.tar.xz cuberite-9cebc9157cf43ba639227b9d79b980b3613dda1e.tar.zst cuberite-9cebc9157cf43ba639227b9d79b980b3613dda1e.zip |
Diffstat (limited to 'src/LightingThread.cpp')
-rw-r--r-- | src/LightingThread.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/LightingThread.cpp b/src/LightingThread.cpp index 688f119ff..9c81d004d 100644 --- a/src/LightingThread.cpp +++ b/src/LightingThread.cpp @@ -548,9 +548,21 @@ cLightingThread::cLightingChunkStay::cLightingChunkStay(cLightingThread & a_Ligh -void cLightingThread::cLightingChunkStay::OnAllChunksAvailable(void) +bool cLightingThread::cLightingChunkStay::OnAllChunksAvailable(void) { m_LightingThread.QueueChunkStay(*this); + + // Keep the ChunkStay alive: + return false; +} + + + + + +void cLightingThread::cLightingChunkStay::OnDisabled(void) +{ + // Nothing needed in this callback } |