]> git.localhorst.tv Git - blank.git/blobdiff - src/world/Chunk.hpp
some cleaning :)
[blank.git] / src / world / Chunk.hpp
index d986874445cc09829a87f6646df94585303d53f0..8d6816c29b8f526527bbb8fb07688f74132c340c 100644 (file)
@@ -158,8 +158,8 @@ private:
 private:
        const BlockTypeRegistry *types;
        Chunk *neighbor[Block::FACE_COUNT];
-       Block blocks[16 * 16 * 16];
-       unsigned char light[16 * 16 * 16];
+       Block blocks[size];
+       unsigned char light[size];
        BlockModel model;
        Pos position;
        bool dirty;