diff options
author | Alexander Harkness <me@bearbin.net> | 2020-04-10 13:25:36 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2020-04-10 15:07:16 +0200 |
commit | 0d722701861ad9acfa7d36c5156fd184e3ba6bee (patch) | |
tree | 7c50b964f945aea1e8501e287bb5044918ce6924 /src/Blocks/Mixins.h | |
parent | Remove silly empty cBlockGlazedTerracotta class (diff) | |
download | cuberite-0d722701861ad9acfa7d36c5156fd184e3ba6bee.tar cuberite-0d722701861ad9acfa7d36c5156fd184e3ba6bee.tar.gz cuberite-0d722701861ad9acfa7d36c5156fd184e3ba6bee.tar.bz2 cuberite-0d722701861ad9acfa7d36c5156fd184e3ba6bee.tar.lz cuberite-0d722701861ad9acfa7d36c5156fd184e3ba6bee.tar.xz cuberite-0d722701861ad9acfa7d36c5156fd184e3ba6bee.tar.zst cuberite-0d722701861ad9acfa7d36c5156fd184e3ba6bee.zip |
Diffstat (limited to 'src/Blocks/Mixins.h')
-rw-r--r-- | src/Blocks/Mixins.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Blocks/Mixins.h b/src/Blocks/Mixins.h index cc1ede5de..24fad22be 100644 --- a/src/Blocks/Mixins.h +++ b/src/Blocks/Mixins.h @@ -174,11 +174,11 @@ public: selects the direction bits from the block's meta values. */ template < class Base, - NIBBLETYPE BitMask = 0x7, - NIBBLETYPE North = 0x2, - NIBBLETYPE East = 0x5, - NIBBLETYPE South = 0x3, - NIBBLETYPE West = 0x4, + NIBBLETYPE BitMask = 0x07, + NIBBLETYPE North = 0x02, + NIBBLETYPE East = 0x05, + NIBBLETYPE South = 0x03, + NIBBLETYPE West = 0x04, bool AssertIfNotMatched = false > class cYawRotator: @@ -250,13 +250,13 @@ public: selects the direction bits from the block's meta values. */ template < class Base, - NIBBLETYPE BitMask = 0x7, - NIBBLETYPE North = 0x2, - NIBBLETYPE East = 0x5, - NIBBLETYPE South = 0x3, - NIBBLETYPE West = 0x4, - NIBBLETYPE Up = 0x1, - NIBBLETYPE Down = 0x0 + NIBBLETYPE BitMask = 0x07, + NIBBLETYPE North = 0x02, + NIBBLETYPE East = 0x05, + NIBBLETYPE South = 0x03, + NIBBLETYPE West = 0x04, + NIBBLETYPE Up = 0x01, + NIBBLETYPE Down = 0x00 > class cPitchYawRotator: public cYawRotator<Base, BitMask, North, East, South, West> |