From 3236364eeed10603e7aa9e2a50b82620d2703f7e Mon Sep 17 00:00:00 2001 From: worktycho Date: Wed, 11 Sep 2013 13:48:08 +0100 Subject: changed the subtaraction to a flip --- source/Blocks/BlockPumpkin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Blocks/BlockPumpkin.h b/source/Blocks/BlockPumpkin.h index 3c9bec43a..5db4f98e9 100644 --- a/source/Blocks/BlockPumpkin.h +++ b/source/Blocks/BlockPumpkin.h @@ -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; } -- cgit v1.2.3