From a2822b17aeda99edf146495c861e28f1e6dbb6be Mon Sep 17 00:00:00 2001 From: andy Date: Sun, 20 Jun 2021 21:04:07 +0000 Subject: [PATCH] Vec-ing is hard --- src/packet/messages.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/packet/messages.rs b/src/packet/messages.rs index 1f591c9..d50a5bf 100644 --- a/src/packet/messages.rs +++ b/src/packet/messages.rs @@ -336,10 +336,10 @@ pub struct ComboStep3 { #[pso_message(0x46)] pub struct TargetsHit { - num_of_targets: [u8; 4], // thats a lot of targets? - client2: u8, // TODO: what even is this? - target2: u8, // TODO: what even is this? - unknown2: [u8; 2], + #[length_of(targets)] + num_of_targets: u32, // thats a lot of targets? + #[length_is(num_of_targets)] + targets: Vec, } #[pso_message(0x47)] -- 2.36.0