diff options
author | madmaxoft <github@xoft.cz> | 2014-01-17 11:11:17 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-01-17 11:11:17 +0100 |
commit | aec5200893e09f90cc43b61088b30364800b51c6 (patch) | |
tree | a5f60ae183abbd1239f5e6bef84c7f2682de9f60 /src/Protocol/Protocol14x.cpp | |
parent | Merge remote-tracking branch 'origin/customnames' (diff) | |
download | cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.gz cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.bz2 cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.lz cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.xz cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.zst cuberite-aec5200893e09f90cc43b61088b30364800b51c6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol14x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol14x.cpp b/src/Protocol/Protocol14x.cpp index 9868de464..127ce9d4b 100644 --- a/src/Protocol/Protocol14x.cpp +++ b/src/Protocol/Protocol14x.cpp @@ -250,7 +250,7 @@ void cProtocol146::SendSpawnVehicle(const cEntity & a_Vehicle, char a_VehicleTyp WriteInt ((int)(a_Vehicle.GetPosY() * 32)); WriteInt ((int)(a_Vehicle.GetPosZ() * 32)); WriteByte ((Byte)((a_Vehicle.GetPitch() / 360.f) * 256)); - WriteByte ((Byte)((a_Vehicle.GetRot().x / 360.f) * 256)); + WriteByte ((Byte)((a_Vehicle.GetYaw() / 360.f) * 256)); WriteInt (a_VehicleSubType); if (a_VehicleSubType != 0) { |