diff options
| author | Ritabrata Das <[email protected]> | 2025-02-21 19:26:06 +0530 |
|---|---|---|
| committer | Ritabrata Das <[email protected]> | 2025-02-21 19:26:06 +0530 |
| commit | d420f7d5a1606c657576aa8aa02a4ad1ea1beec7 (patch) | |
| tree | 05a2be8fa07c3f71b75da4e769510b3446cee9dd /lib | |
| parent | bac0338396377a96805026bd0b8059a715647839 (diff) | |
Very premetive implementation of radar
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/PacketManager/packets/FSNETCMD_AIRPLANESTATE.py | 2 |
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)) |
