diff options
author | madmaxoft <github@xoft.cz> | 2014-01-17 10:44:23 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-01-17 10:44:23 +0100 |
commit | ed1d336614173daaecf0f5c43e8a174970cef631 (patch) | |
tree | 3d3526ac7a8bd61a6eaf03293d4197a71dd9200f /src/Protocol/Protocol14x.cpp | |
parent | Protocol 1.7: More output on unknown packets / protocol states. (diff) | |
parent | Changed newline character because of issues (diff) | |
download | cuberite-ed1d336614173daaecf0f5c43e8a174970cef631.tar cuberite-ed1d336614173daaecf0f5c43e8a174970cef631.tar.gz cuberite-ed1d336614173daaecf0f5c43e8a174970cef631.tar.bz2 cuberite-ed1d336614173daaecf0f5c43e8a174970cef631.tar.lz cuberite-ed1d336614173daaecf0f5c43e8a174970cef631.tar.xz cuberite-ed1d336614173daaecf0f5c43e8a174970cef631.tar.zst cuberite-ed1d336614173daaecf0f5c43e8a174970cef631.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 926fe6ee8..9868de464 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.GetRotation() / 360.f) * 256)); + WriteByte ((Byte)((a_Vehicle.GetRot().x / 360.f) * 256)); WriteInt (a_VehicleSubType); if (a_VehicleSubType != 0) { |