summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockPumpkin.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-11 20:02:09 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-11 20:02:09 +0200
commit8ef91817e93a98dd668c1d5b9e767dfe39d92f75 (patch)
tree1fea9927289516c7c76d7e7bf1a2af8cac3528e8 /source/Blocks/BlockPumpkin.h
parentBetter player gamemode detection (diff)
downloadcuberite-8ef91817e93a98dd668c1d5b9e767dfe39d92f75.tar
cuberite-8ef91817e93a98dd668c1d5b9e767dfe39d92f75.tar.gz
cuberite-8ef91817e93a98dd668c1d5b9e767dfe39d92f75.tar.bz2
cuberite-8ef91817e93a98dd668c1d5b9e767dfe39d92f75.tar.lz
cuberite-8ef91817e93a98dd668c1d5b9e767dfe39d92f75.tar.xz
cuberite-8ef91817e93a98dd668c1d5b9e767dfe39d92f75.tar.zst
cuberite-8ef91817e93a98dd668c1d5b9e767dfe39d92f75.zip
Diffstat (limited to 'source/Blocks/BlockPumpkin.h')
-rw-r--r--source/Blocks/BlockPumpkin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Blocks/BlockPumpkin.h b/source/Blocks/BlockPumpkin.h
index 375740535..b74d60a85 100644
--- a/source/Blocks/BlockPumpkin.h
+++ b/source/Blocks/BlockPumpkin.h
@@ -30,7 +30,7 @@ public:
{
ASSERT((a_Yaw >= -180) && (a_Yaw < 180));
- a_Yaw *= -1;
+ a_Yaw -= 180;
a_Yaw += 360 + 45;
if (a_Yaw > 360)
{