From 3a1def2c905a8e6d8807d14c5953cceb04f6b8a6 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Wed, 11 Sep 2013 20:07:51 +0100 Subject: More changes [SEE DESC] * Improved (again) pumpkin direction handling * Fixed spacing in Entity.cpp --- source/Blocks/BlockPumpkin.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/Blocks') 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; -- cgit v1.2.3