diff options
author | Mattes D <github@xoft.cz> | 2015-05-09 09:25:09 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-09 12:58:54 +0200 |
commit | c13b1931ff26a5643c9fe68ab32b1e362cfacd70 (patch) | |
tree | 0c19db714a5dd08eb2775b39487e96cf317cf867 /src/Blocks/BlockDoor.cpp | |
parent | Rabbit and cooked rabbit now stackable (diff) | |
download | cuberite-c13b1931ff26a5643c9fe68ab32b1e362cfacd70.tar cuberite-c13b1931ff26a5643c9fe68ab32b1e362cfacd70.tar.gz cuberite-c13b1931ff26a5643c9fe68ab32b1e362cfacd70.tar.bz2 cuberite-c13b1931ff26a5643c9fe68ab32b1e362cfacd70.tar.lz cuberite-c13b1931ff26a5643c9fe68ab32b1e362cfacd70.tar.xz cuberite-c13b1931ff26a5643c9fe68ab32b1e362cfacd70.tar.zst cuberite-c13b1931ff26a5643c9fe68ab32b1e362cfacd70.zip |
Diffstat (limited to 'src/Blocks/BlockDoor.cpp')
-rw-r--r-- | src/Blocks/BlockDoor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Blocks/BlockDoor.cpp b/src/Blocks/BlockDoor.cpp index d2bf180be..d13c8d657 100644 --- a/src/Blocks/BlockDoor.cpp +++ b/src/Blocks/BlockDoor.cpp @@ -134,7 +134,7 @@ NIBBLETYPE cBlockDoorHandler::MetaMirrorXY(NIBBLETYPE a_Meta) return a_Meta; } - // Holds open/closed meta data. 0x0C == 1100. + // Holds open / closed meta data. 0x0C == 1100. NIBBLETYPE OtherMeta = a_Meta & 0x0C; // Mirrors according to a table. 0x03 == 0011. @@ -152,7 +152,7 @@ NIBBLETYPE cBlockDoorHandler::MetaMirrorXY(NIBBLETYPE a_Meta) NIBBLETYPE cBlockDoorHandler::MetaMirrorYZ(NIBBLETYPE a_Meta) { - // Top bit (0x08) contains door panel type (Top/Bottom panel) Only Bottom panels contain position data + // Top bit (0x08) contains door panel type (Top / Bottom panel) Only Bottom panels contain position data // Return a_Meta if panel is a top panel (0x08 bit is set to 1) // Note: Currently, you can not properly mirror the hinges on a double door. The orientation of the door is stored @@ -165,7 +165,7 @@ NIBBLETYPE cBlockDoorHandler::MetaMirrorYZ(NIBBLETYPE a_Meta) return a_Meta; } - // Holds open/closed meta data. 0x0C == 1100. + // Holds open / closed meta data. 0x0C == 1100. NIBBLETYPE OtherMeta = a_Meta & 0x0C; // Mirrors according to a table. 0x03 == 0011. |