changed the subtaraction to a flip
This commit is contained in:
parent
cb167f78e3
commit
3236364eee
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user