diff options
author | UIS <uis9936@gmail.com> | 2020-08-14 00:38:23 +0200 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-06-24 10:48:13 +0200 |
commit | e561e652ccae7d7fd214930000892cc24281f96c (patch) | |
tree | 4c06e3df8643fbbefe9c6d2a46b820dd8edaccf8 /src/Block.hpp | |
parent | Minor network fixes (diff) | |
download | AltCraft-e561e652ccae7d7fd214930000892cc24281f96c.tar AltCraft-e561e652ccae7d7fd214930000892cc24281f96c.tar.gz AltCraft-e561e652ccae7d7fd214930000892cc24281f96c.tar.bz2 AltCraft-e561e652ccae7d7fd214930000892cc24281f96c.tar.lz AltCraft-e561e652ccae7d7fd214930000892cc24281f96c.tar.xz AltCraft-e561e652ccae7d7fd214930000892cc24281f96c.tar.zst AltCraft-e561e652ccae7d7fd214930000892cc24281f96c.zip |
Diffstat (limited to 'src/Block.hpp')
-rw-r--r-- | src/Block.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Block.hpp b/src/Block.hpp index fbeeaeb..a9fd881 100644 --- a/src/Block.hpp +++ b/src/Block.hpp @@ -6,7 +6,7 @@ #include "Vector.hpp" struct BlockId { - unsigned short id : 13; + unsigned short id : 12; unsigned char state : 4; }; @@ -49,4 +49,4 @@ struct BlockInfo { void RegisterStaticBlockInfo(BlockId blockId, BlockInfo blockInfo); -BlockInfo GetBlockInfo(BlockId blockId, Vector blockPos = Vector(0,0,0));
\ No newline at end of file +BlockInfo* GetBlockInfo(BlockId blockId, Vector blockPos = Vector(0,0,0)); |