diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2022-01-14 19:21:10 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-01-14 20:43:29 +0100 |
commit | da0fdbe113e9b3a5254822a20a8ca2595cd661cb (patch) | |
tree | b12753160572310ac7a6878319cca5afe728e2d6 /src/LightingThread.cpp | |
parent | eblockface (diff) | |
download | cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.gz cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.bz2 cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.lz cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.xz cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.zst cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.zip |
Diffstat (limited to 'src/LightingThread.cpp')
-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 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 |