summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2020-04-10 13:25:36 +0200
committerAlexander Harkness <me@bearbin.net>2020-04-10 15:07:16 +0200
commit0d722701861ad9acfa7d36c5156fd184e3ba6bee (patch)
tree7c50b964f945aea1e8501e287bb5044918ce6924 /src
parentRemove silly empty cBlockGlazedTerracotta class (diff)
downloadcuberite-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')
-rw-r--r--src/Blocks/BlockBed.h4
-rw-r--r--src/Blocks/BlockHandler.cpp2
-rw-r--r--src/Blocks/Mixins.h24
3 files changed, 15 insertions, 15 deletions
diff --git a/src/Blocks/BlockBed.h b/src/Blocks/BlockBed.h
index 3d35b2bf5..ecf1f0d88 100644
--- a/src/Blocks/BlockBed.h
+++ b/src/Blocks/BlockBed.h
@@ -16,9 +16,9 @@ class cWorldInterface;
class cBlockBedHandler :
- public cYawRotator<cBlockEntityHandler, 0x3, 0x02, 0x03, 0x00, 0x01>
+ public cYawRotator<cBlockEntityHandler, 0x03, 0x02, 0x03, 0x00, 0x01>
{
- using super = cYawRotator<cBlockEntityHandler, 0x3, 0x02, 0x03, 0x00, 0x01>;
+ using super = cYawRotator<cBlockEntityHandler, 0x03, 0x02, 0x03, 0x00, 0x01>;
public:
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index f82118ec2..fd7ca2f52 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -97,7 +97,7 @@
-using cBlockGlazedTerracottaHandler = cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x3, 0x1, 0x3, 0x0, 0x2>>;
+using cBlockGlazedTerracottaHandler = cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x01, 0x03, 0x00, 0x02>>;
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>