changed the subtaraction to a flip

This commit is contained in:
worktycho committed 2013-09-11 13:48:08 +01:00
1 parent cb167f78e3
commit 3236364eee
1 file changed
+3 -3
+3 -3
View File
@@ -1,4 +1,3 @@
#pragma once
#include "BlockHandler.h"
@@ -23,8 +22,9 @@ public:
) override
{
a_BlockType = m_BlockType;
a_BlockMeta = PlayerYawToMetaData(a_Player->GetRotation() - 180);
double a_Rotation = a_Player->GetRotation()
a_Rotation = -1 * a_Rotation;
a_BlockMeta = PlayerYawToMetaData(a_Rotation);
return true;
}