summaryrefslogtreecommitdiffstats
path: root/src/ChunkData.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-05-29 20:10:35 +0200
committerworktycho <work.tycho@gmail.com>2014-05-29 20:10:35 +0200
commit0cfee5d141f63d0d9ee339e4fab3ad8ac15f884d (patch)
treea5ae4358db37f1db88ddb8792d1b779d9a9ab3f5 /src/ChunkData.cpp
parentFixed test compilation. (diff)
downloadcuberite-0cfee5d141f63d0d9ee339e4fab3ad8ac15f884d.tar
cuberite-0cfee5d141f63d0d9ee339e4fab3ad8ac15f884d.tar.gz
cuberite-0cfee5d141f63d0d9ee339e4fab3ad8ac15f884d.tar.bz2
cuberite-0cfee5d141f63d0d9ee339e4fab3ad8ac15f884d.tar.lz
cuberite-0cfee5d141f63d0d9ee339e4fab3ad8ac15f884d.tar.xz
cuberite-0cfee5d141f63d0d9ee339e4fab3ad8ac15f884d.tar.zst
cuberite-0cfee5d141f63d0d9ee339e4fab3ad8ac15f884d.zip
Diffstat (limited to 'src/ChunkData.cpp')
-rw-r--r--src/ChunkData.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ChunkData.cpp b/src/ChunkData.cpp
index 13be65fd7..46bd0b946 100644
--- a/src/ChunkData.cpp
+++ b/src/ChunkData.cpp
@@ -375,7 +375,7 @@ void cChunkData::CopyMetas(NIBBLETYPE * a_Dest) const
}
else
{
- memset(&a_Dest[i * SegmentLength], 0, sizeof(BLOCKTYPE) * SegmentLength);
+ memset(&a_Dest[i * SegmentLength], 0, sizeof(NIBBLETYPE) * SegmentLength);
}
}
}
@@ -395,7 +395,7 @@ void cChunkData::CopyBlockLight(NIBBLETYPE * a_Dest) const
}
else
{
- memset(&a_Dest[i * SegmentLength], 0, sizeof(BLOCKTYPE) * SegmentLength);
+ memset(&a_Dest[i * SegmentLength], 0, sizeof(NIBBLETYPE) * SegmentLength);
}
}
}
@@ -415,7 +415,7 @@ void cChunkData::CopySkyLight(NIBBLETYPE * a_Dest) const
}
else
{
- memset(&a_Dest[i * SegmentLength], 0xff, sizeof(BLOCKTYPE) * SegmentLength);
+ memset(&a_Dest[i * SegmentLength], 0xff, sizeof(NIBBLETYPE) * SegmentLength);
}
}
}