summaryrefslogtreecommitdiff
path: root/lib/PacketManager/packets
diff options
context:
space:
mode:
authorRitabrata Das <[email protected]>2025-02-21 19:26:06 +0530
committerRitabrata Das <[email protected]>2025-02-21 19:26:06 +0530
commitd420f7d5a1606c657576aa8aa02a4ad1ea1beec7 (patch)
tree05a2be8fa07c3f71b75da4e769510b3446cee9dd /lib/PacketManager/packets
parentbac0338396377a96805026bd0b8059a715647839 (diff)
Very premetive implementation of radar
Diffstat (limited to 'lib/PacketManager/packets')
-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))