diff options
Diffstat (limited to '')
-rw-r--r-- | src/LightingThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LightingThread.cpp b/src/LightingThread.cpp index d5e37ff2f..aabd574a8 100644 --- a/src/LightingThread.cpp +++ b/src/LightingThread.cpp @@ -359,7 +359,7 @@ void cLightingThread::PrepareSkyLight(void) // Fill the top of the chunk with all-light: if (m_MaxHeight < cChunkDef::Height - 1) { - std::fill(m_SkyLight + (m_MaxHeight + 1) * BlocksPerYLayer, m_SkyLight + ARRAYCOUNT(m_SkyLight), 15); + std::fill(m_SkyLight + (m_MaxHeight + 1) * BlocksPerYLayer, m_SkyLight + ARRAYCOUNT(m_SkyLight), NIBBLETYPE(15)); } // Walk every column that has all XZ neighbors |