summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-16 20:00:49 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-16 20:00:49 +0100
commit74645fdfaa892e460c1b5444fd35eca11343e570 (patch)
treee002a754e635117b2c9bf60d1a8b47d4f18e7dd1 /src/ClientHandle.cpp
parentPossibly did what xoft wanted (diff)
downloadcuberite-74645fdfaa892e460c1b5444fd35eca11343e570.tar
cuberite-74645fdfaa892e460c1b5444fd35eca11343e570.tar.gz
cuberite-74645fdfaa892e460c1b5444fd35eca11343e570.tar.bz2
cuberite-74645fdfaa892e460c1b5444fd35eca11343e570.tar.lz
cuberite-74645fdfaa892e460c1b5444fd35eca11343e570.tar.xz
cuberite-74645fdfaa892e460c1b5444fd35eca11343e570.tar.zst
cuberite-74645fdfaa892e460c1b5444fd35eca11343e570.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index fb7ea27d9..c8513d516 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -1037,7 +1037,7 @@ void cClientHandle::HandlePlayerLook(float a_Rotation, float a_Pitch, bool a_IsO
return;
}
- m_Player->SetRotation (a_Rotation);
+ m_Player->SetYaw (a_Rotation);
m_Player->SetHeadYaw (a_Rotation);
m_Player->SetPitch (a_Pitch);
m_Player->SetTouchGround(a_IsOnGround);
@@ -1069,7 +1069,7 @@ void cClientHandle::HandlePlayerMoveLook(double a_PosX, double a_PosY, double a_
m_Player->SetStance (a_Stance);
m_Player->SetTouchGround(a_IsOnGround);
m_Player->SetHeadYaw (a_Rotation);
- m_Player->SetRotation (a_Rotation);
+ m_Player->SetYaw (a_Rotation);
m_Player->SetPitch (a_Pitch);
}