summaryrefslogtreecommitdiffstats
path: root/src/ChunkData.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-29 20:18:37 +0200
committermadmaxoft <github@xoft.cz>2014-05-29 20:21:39 +0200
commit59068b77b7215461b4aaf11c2db91c1657b7f91d (patch)
treef062b85370b92efc19e3adeda639d9658d22f6a8 /src/ChunkData.h
parentFixed Wrong types in nibble sizeofs (diff)
downloadcuberite-59068b77b7215461b4aaf11c2db91c1657b7f91d.tar
cuberite-59068b77b7215461b4aaf11c2db91c1657b7f91d.tar.gz
cuberite-59068b77b7215461b4aaf11c2db91c1657b7f91d.tar.bz2
cuberite-59068b77b7215461b4aaf11c2db91c1657b7f91d.tar.lz
cuberite-59068b77b7215461b4aaf11c2db91c1657b7f91d.tar.xz
cuberite-59068b77b7215461b4aaf11c2db91c1657b7f91d.tar.zst
cuberite-59068b77b7215461b4aaf11c2db91c1657b7f91d.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkData.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ChunkData.h b/src/ChunkData.h
index 341c15301..fef31b5ad 100644
--- a/src/ChunkData.h
+++ b/src/ChunkData.h
@@ -91,7 +91,6 @@ private:
static const size_t SectionHeight = 16;
static const size_t NumSections = (cChunkDef::Height / SectionHeight);
- static const size_t SegmentLength = cChunkDef::Width * cChunkDef::Height * SectionHeight;
static const size_t SectionBlockCount = SectionHeight * cChunkDef::Width * cChunkDef::Width;
#if __cplusplus < 201103L
@@ -101,7 +100,7 @@ private:
struct sChunkSection {
BLOCKTYPE m_BlockTypes [SectionBlockCount];
- NIBBLETYPE m_BlockMeta [SectionBlockCount / 2];
+ NIBBLETYPE m_BlockMetas [SectionBlockCount / 2];
NIBBLETYPE m_BlockLight [SectionBlockCount / 2];
NIBBLETYPE m_BlockSkyLight[SectionBlockCount / 2];
};