More changes [SEE DESC]
* Improved (again) pumpkin direction handling * Fixed spacing in Entity.cpp
This commit is contained in:
parent
8ef91817e9
commit
3a1def2c90
@ -28,10 +28,9 @@ public:
|
|||||||
|
|
||||||
inline static NIBBLETYPE PlayerYawToMetaData(double a_Yaw)
|
inline static NIBBLETYPE PlayerYawToMetaData(double a_Yaw)
|
||||||
{
|
{
|
||||||
|
|
||||||
ASSERT((a_Yaw >= -180) && (a_Yaw < 180));
|
ASSERT((a_Yaw >= -180) && (a_Yaw < 180));
|
||||||
a_Yaw -= 180;
|
|
||||||
a_Yaw += 360 + 45;
|
a_Yaw += 180 + 45;
|
||||||
if (a_Yaw > 360)
|
if (a_Yaw > 360)
|
||||||
{
|
{
|
||||||
a_Yaw -= 360;
|
a_Yaw -= 360;
|
||||||
|
Loading…
Reference in New Issue
Block a user