From 0a524e7b18e777bab3e6aa0813fa96d33252de58 Mon Sep 17 00:00:00 2001 From: Andy Newjack Date: Mon, 27 Jul 2020 19:11:50 -0300 Subject: [PATCH] fix packet sizes --- src/packet/messages.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/packet/messages.rs b/src/packet/messages.rs index 1d4e9e5..f1142dd 100644 --- a/src/packet/messages.rs +++ b/src/packet/messages.rs @@ -13,7 +13,7 @@ pub trait PSOMessage { #[pso_message(0x05)] pub struct PlayerActivatedSwitch { - data: u16, + data: [u8; 8], } #[pso_message(0x06)] @@ -386,7 +386,7 @@ pub struct PlayerScapedollResurrection { #[pso_message(0x50)] pub struct PlayerActivatedSwitch2 { - data: u16, + data: [u16; 2], } #[pso_message(0x52)]