diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-05-17 16:11:58 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-05-17 16:11:58 +0200 |
commit | 1f98f21dd1c1664102dfb480a69c8d1901c3ae5f (patch) | |
tree | 7c4b7be42f323cac18d45b5f551463fccb8c2ef2 /tests/ChunkBuffer/ArraytoCoord.cpp | |
parent | Fix assignment operators test (diff) | |
download | cuberite-1f98f21dd1c1664102dfb480a69c8d1901c3ae5f.tar cuberite-1f98f21dd1c1664102dfb480a69c8d1901c3ae5f.tar.gz cuberite-1f98f21dd1c1664102dfb480a69c8d1901c3ae5f.tar.bz2 cuberite-1f98f21dd1c1664102dfb480a69c8d1901c3ae5f.tar.lz cuberite-1f98f21dd1c1664102dfb480a69c8d1901c3ae5f.tar.xz cuberite-1f98f21dd1c1664102dfb480a69c8d1901c3ae5f.tar.zst cuberite-1f98f21dd1c1664102dfb480a69c8d1901c3ae5f.zip |
Diffstat (limited to 'tests/ChunkBuffer/ArraytoCoord.cpp')
-rw-r--r-- | tests/ChunkBuffer/ArraytoCoord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ChunkBuffer/ArraytoCoord.cpp b/tests/ChunkBuffer/ArraytoCoord.cpp index 993dc6cc5..5563a3f86 100644 --- a/tests/ChunkBuffer/ArraytoCoord.cpp +++ b/tests/ChunkBuffer/ArraytoCoord.cpp @@ -106,7 +106,7 @@ int main(int argc, char** argv) SrcNibbleBuffer = NULL; SrcNibbleBuffer = new NIBBLETYPE[16 * 16 * 256/2]; - memset(SrcNibbleBuffer, 0x00, 16 * 16 * 256 /2); + memset(SrcNibbleBuffer, 0xFF, 16 * 16 * 256 /2); buffer.SetSkyLight(SrcNibbleBuffer); testassert(buffer.GetSkyLight(6,24,1) == 0xF); delete SrcNibbleBuffer; |