summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_11.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-04-22 00:12:55 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-06 21:56:05 +0200
commite205d4109beb413b5db932e6035280789b653721 (patch)
tree844aadb47e76cfbc410e2577cd2c8d940bec33f9 /src/Protocol/Protocol_1_11.cpp
parentUpdate mbedtls to 2.23.0 (diff)
downloadcuberite-e205d4109beb413b5db932e6035280789b653721.tar
cuberite-e205d4109beb413b5db932e6035280789b653721.tar.gz
cuberite-e205d4109beb413b5db932e6035280789b653721.tar.bz2
cuberite-e205d4109beb413b5db932e6035280789b653721.tar.lz
cuberite-e205d4109beb413b5db932e6035280789b653721.tar.xz
cuberite-e205d4109beb413b5db932e6035280789b653721.tar.zst
cuberite-e205d4109beb413b5db932e6035280789b653721.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol_1_11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol_1_11.cpp b/src/Protocol/Protocol_1_11.cpp
index e8381c70b..204371e90 100644
--- a/src/Protocol/Protocol_1_11.cpp
+++ b/src/Protocol/Protocol_1_11.cpp
@@ -394,8 +394,8 @@ void cProtocol_1_11_0::SendSpawnMob(const cMonster & a_Mob)
Pkt.WriteBEDouble(LastSentPos.x);
Pkt.WriteBEDouble(LastSentPos.y);
Pkt.WriteBEDouble(LastSentPos.z);
+ Pkt.WriteByteAngle(a_Mob.GetHeadYaw()); // Doesn't seem to be used
Pkt.WriteByteAngle(a_Mob.GetPitch());
- Pkt.WriteByteAngle(a_Mob.GetHeadYaw());
Pkt.WriteByteAngle(a_Mob.GetYaw());
Pkt.WriteBEInt16(static_cast<Int16>(a_Mob.GetSpeedX() * 400));
Pkt.WriteBEInt16(static_cast<Int16>(a_Mob.GetSpeedY() * 400));