aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/PacketManager/packets/FSNETCMD_AIRPLANESTATE.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PacketManager/packets/FSNETCMD_AIRPLANESTATE.py b/lib/PacketManager/packets/FSNETCMD_AIRPLANESTATE.py
index 3ebf8d6..8c5aec7 100644
--- a/lib/PacketManager/packets/FSNETCMD_AIRPLANESTATE.py
+++ b/lib/PacketManager/packets/FSNETCMD_AIRPLANESTATE.py
@@ -235,7 +235,7 @@ class FSNETCMD_AIRPLANESTATE: #11
buffer = pack("IfI", 11, remote_time, player_id)
buffer += pack("H", packet_version)
if packet_version == 4 or packet_version == 5:
- buffer += pack("fffhhhhhhhhh", *position, *atti, *velocity, *atti_velocity)
+ buffer += pack("3f9H", *position, *atti, *velocity, *atti_velocity)
buffer += pack("hhhh", smoke_oil, fuel, payload, 0)
buffer += pack("BB", flight_state, int(vgw*255))
buffer += pack("BB", int(spoiler*15)<<4 | int(landing_gear*15), int(flap*15)<<4 | int(brake*15))