summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockPumpkin.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Blocks/BlockPumpkin.h')
-rw-r--r--source/Blocks/BlockPumpkin.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/Blocks/BlockPumpkin.h b/source/Blocks/BlockPumpkin.h
index b74d60a85..76abc6818 100644
--- a/source/Blocks/BlockPumpkin.h
+++ b/source/Blocks/BlockPumpkin.h
@@ -28,10 +28,9 @@ public:
inline static NIBBLETYPE PlayerYawToMetaData(double a_Yaw)
{
-
ASSERT((a_Yaw >= -180) && (a_Yaw < 180));
- a_Yaw -= 180;
- a_Yaw += 360 + 45;
+
+ a_Yaw += 180 + 45;
if (a_Yaw > 360)
{
a_Yaw -= 360;