summaryrefslogtreecommitdiffstats
path: root/src/LightingThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/LightingThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LightingThread.cpp b/src/LightingThread.cpp
index aabd574a8..f4aa1d69e 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), NIBBLETYPE(15));
+ std::fill(m_SkyLight + (m_MaxHeight + 1) * BlocksPerYLayer, m_SkyLight + ARRAYCOUNT(m_SkyLight), static_cast<NIBBLETYPE>(15));
}
// Walk every column that has all XZ neighbors