diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-04-05 00:16:52 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-04-05 00:16:52 +0200 |
commit | 3201d1bf169ca99e4cdbfad7601f6aed89b3c76c (patch) | |
tree | 1653ecffb9562173a0541efa47de35c295325eb7 /src/Chunk.h | |
parent | Speed and memory improvements (diff) | |
download | cuberite-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.h | 2 |
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]; |