summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: