diff options
author | madmaxoft <github@xoft.cz> | 2014-05-29 20:18:37 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-29 20:21:39 +0200 |
commit | 59068b77b7215461b4aaf11c2db91c1657b7f91d (patch) | |
tree | f062b85370b92efc19e3adeda639d9658d22f6a8 /src/ChunkData.h | |
parent | Fixed Wrong types in nibble sizeofs (diff) | |
download | cuberite-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.h | 3 |
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]; }; |