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