summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-08 18:54:04 +0100
committermadmaxoft <github@xoft.cz>2013-12-08 18:54:04 +0100
commit3712ee7b11357962f53e1339181780a4442c1337 (patch)
treedbf21d8be39e6c5ec6a42b1a12ee1ee4ea7135c4 /src
parentFixed tolua++ compilation. (diff)
downloadcuberite-3712ee7b11357962f53e1339181780a4442c1337.tar
cuberite-3712ee7b11357962f53e1339181780a4442c1337.tar.gz
cuberite-3712ee7b11357962f53e1339181780a4442c1337.tar.bz2
cuberite-3712ee7b11357962f53e1339181780a4442c1337.tar.lz
cuberite-3712ee7b11357962f53e1339181780a4442c1337.tar.xz
cuberite-3712ee7b11357962f53e1339181780a4442c1337.tar.zst
cuberite-3712ee7b11357962f53e1339181780a4442c1337.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index d728d6cbc..0a2145e81 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -168,7 +168,7 @@ void cEntity::WrapHeadYaw(void)
void cEntity::WrapRotation(void)
{
m_Rot.x = NormalizeAngleDegrees(m_Rot.x);
- m_Rot.y = NormalizeAngleDegrees(m_Rot.z);
+ m_Rot.y = NormalizeAngleDegrees(m_Rot.y);
}