summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-05 00:16:52 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-05 00:16:52 +0200
commit3201d1bf169ca99e4cdbfad7601f6aed89b3c76c (patch)
tree1653ecffb9562173a0541efa47de35c295325eb7 /src/Chunk.h
parentSpeed and memory improvements (diff)
downloadcuberite-3201d1bf169ca99e4cdbfad7601f6aed89b3c76c.tar
cuberite-3201d1bf169ca99e4cdbfad7601f6aed89b3c76c.tar.gz
cuberite-3201d1bf169ca99e4cdbfad7601f6aed89b3c76c.tar.bz2
cuberite-3201d1bf169ca99e4cdbfad7601f6aed89b3c76c.tar.lz
cuberite-3201d1bf169ca99e4cdbfad7601f6aed89b3c76c.tar.xz
cuberite-3201d1bf169ca99e4cdbfad7601f6aed89b3c76c.tar.zst
cuberite-3201d1bf169ca99e4cdbfad7601f6aed89b3c76c.zip
Diffstat (limited to 'src/Chunk.h')
-rw-r--r--src/Chunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index ef6a11006..d8e4cf6e4 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -422,7 +422,7 @@ private:
// TODO: Make these pointers and don't allocate what isn't needed
std::vector<BLOCKTYPE> m_BlockTypes;
- NIBBLETYPE m_BlockMeta [cChunkDef::NumBlocks / 2];
+ std::vector<NIBBLETYPE> m_BlockMeta;
NIBBLETYPE m_BlockLight [cChunkDef::NumBlocks / 2];
NIBBLETYPE m_BlockSkyLight[cChunkDef::NumBlocks / 2];