summaryrefslogtreecommitdiffstats
path: root/tests/ChunkBuffer/ArraytoCoord.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-05-17 16:11:58 +0200
committerTycho <work.tycho+git@gmail.com>2014-05-17 16:11:58 +0200
commit1f98f21dd1c1664102dfb480a69c8d1901c3ae5f (patch)
tree7c4b7be42f323cac18d45b5f551463fccb8c2ef2 /tests/ChunkBuffer/ArraytoCoord.cpp
parentFix assignment operators test (diff)
downloadcuberite-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.cpp2
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;