diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-05-11 19:24:21 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-05-11 19:24:21 +0200 |
commit | 9568c223ff5b507ab436931ddf716e5978cbc35e (patch) | |
tree | 2c52e2e9570581e66de73763e794a67ebdc7e07c /src/ChunkBuffer.cpp | |
parent | Cerated array copy tests for block and skylight (diff) | |
download | cuberite-9568c223ff5b507ab436931ddf716e5978cbc35e.tar cuberite-9568c223ff5b507ab436931ddf716e5978cbc35e.tar.gz cuberite-9568c223ff5b507ab436931ddf716e5978cbc35e.tar.bz2 cuberite-9568c223ff5b507ab436931ddf716e5978cbc35e.tar.lz cuberite-9568c223ff5b507ab436931ddf716e5978cbc35e.tar.xz cuberite-9568c223ff5b507ab436931ddf716e5978cbc35e.tar.zst cuberite-9568c223ff5b507ab436931ddf716e5978cbc35e.zip |
Diffstat (limited to 'src/ChunkBuffer.cpp')
-rw-r--r-- | src/ChunkBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkBuffer.cpp b/src/ChunkBuffer.cpp index 96077b966..73ccd9c02 100644 --- a/src/ChunkBuffer.cpp +++ b/src/ChunkBuffer.cpp @@ -300,7 +300,7 @@ void cChunkBuffer::ZeroSection(cChunkBuffer::sChunkSection * ptr) const memset(ptr->m_BlockTypes,0x00,sizeof(ptr->m_BlockTypes)); memset(ptr->m_BlockMeta,0x00,sizeof(ptr->m_BlockMeta)); memset(ptr->m_BlockLight,0x00,sizeof(ptr->m_BlockLight)); - memset(ptr->m_BlockSkyLight,0x00,sizeof(ptr->m_BlockSkyLight)); + memset(ptr->m_BlockSkyLight,0xFF,sizeof(ptr->m_BlockSkyLight)); } |