summaryrefslogtreecommitdiffstats
path: root/source/LightingThread.cpp
diff options
context:
space:
mode:
authormadmaxoft <madmaxoft@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-13 16:50:49 +0100
committermadmaxoft <madmaxoft@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-13 16:50:49 +0100
commit1b75e74a9eca2c05223a709d85f40fe6316f9b2b (patch)
treece005924b6707b77c8730c2d438253708522269f /source/LightingThread.cpp
parentFixed block breaking in survival. (diff)
downloadcuberite-1b75e74a9eca2c05223a709d85f40fe6316f9b2b.tar
cuberite-1b75e74a9eca2c05223a709d85f40fe6316f9b2b.tar.gz
cuberite-1b75e74a9eca2c05223a709d85f40fe6316f9b2b.tar.bz2
cuberite-1b75e74a9eca2c05223a709d85f40fe6316f9b2b.tar.lz
cuberite-1b75e74a9eca2c05223a709d85f40fe6316f9b2b.tar.xz
cuberite-1b75e74a9eca2c05223a709d85f40fe6316f9b2b.tar.zst
cuberite-1b75e74a9eca2c05223a709d85f40fe6316f9b2b.zip
Diffstat (limited to 'source/LightingThread.cpp')
-rw-r--r--source/LightingThread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/LightingThread.cpp b/source/LightingThread.cpp
index 071c1893a..7c9529298 100644
--- a/source/LightingThread.cpp
+++ b/source/LightingThread.cpp
@@ -402,6 +402,7 @@ void cLightingThread::PrepareBlockLight(void)
{
// Clear seeds:
memset(m_IsSeed1, 0, sizeof(m_IsSeed1));
+ memset(m_IsSeed2, 0, sizeof(m_IsSeed2));
m_NumSeeds = 0;
// Walk every column that has all XZ neighbors, make a seed for each light-emitting block: