summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol125.cpp
diff options
context:
space:
mode:
authorkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-02 08:48:31 +0200
committerkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-02 08:48:31 +0200
commit8f047b07046314f1ff22bfc775240aaeb300ef1b (patch)
tree287f9ae175e57adc03eb0dd2d8d47229b3e64d64 /source/Protocol/Protocol125.cpp
parentCobweb lets light through. (diff)
downloadcuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar
cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar.gz
cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar.bz2
cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar.lz
cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar.xz
cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar.zst
cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.zip
Diffstat (limited to '')
-rw-r--r--source/Protocol/Protocol125.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Protocol/Protocol125.cpp b/source/Protocol/Protocol125.cpp
index d2f3add7f..f09cf7178 100644
--- a/source/Protocol/Protocol125.cpp
+++ b/source/Protocol/Protocol125.cpp
@@ -300,7 +300,7 @@ void cProtocol125::SendEntHeadLook(const cEntity & a_Entity)
cCSLock Lock(m_CSPacket);
WriteByte(PACKET_ENT_HEAD_LOOK);
WriteInt (a_Entity.GetUniqueID());
- WriteByte((char)((a_Entity.GetRotation() / 360.f) * 256));
+ WriteByte((char)((a_Entity.GetHeadYaw() / 360.f) * 256));
Flush();
}