diff options
author | x12xx12x <44411062+12xx12@users.noreply.github.com> | 2021-11-26 09:25:44 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-01-14 20:43:29 +0100 |
commit | 2ec73a3fbd31639a8716cbbaf8910ac50d5fa060 (patch) | |
tree | 5242ecd62f2c0f4a9df40580bce14ee083add85c /src/LightingThread.cpp | |
parent | Fixed Compiler Warnings (diff) | |
download | cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar.gz cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar.bz2 cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar.lz cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar.xz cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar.zst cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.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 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 |