1
0

changed the subtaraction to a flip

This commit is contained in:
worktycho 2013-09-11 13:48:08 +01:00
parent cb167f78e3
commit 3236364eee

View File

@ -1,4 +1,3 @@
#pragma once #pragma once
#include "BlockHandler.h" #include "BlockHandler.h"
@ -23,8 +22,9 @@ public:
) override ) override
{ {
a_BlockType = m_BlockType; a_BlockType = m_BlockType;
double a_Rotation = a_Player->GetRotation()
a_BlockMeta = PlayerYawToMetaData(a_Player->GetRotation() - 180); a_Rotation = -1 * a_Rotation;
a_BlockMeta = PlayerYawToMetaData(a_Rotation);
return true; return true;
} }