From 68f674759871b96207585eedd3bcd2ca0598e125 Mon Sep 17 00:00:00 2001 From: thedax Date: Fri, 4 Jul 2025 15:48:03 -0400 Subject: [PATCH] Fix size of InventoryActionAck (#104) -If it's 16 bytes, there can't be 12 bytes of padding, 4 bytes of u32 and 2 bytes of u16. :) --- src/ipc/zone/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc/zone/mod.rs b/src/ipc/zone/mod.rs index 3611577..88f1c17 100644 --- a/src/ipc/zone/mod.rs +++ b/src/ipc/zone/mod.rs @@ -325,7 +325,7 @@ pub enum ServerZoneIpcData { #[br(pre_assert(*magic == ServerZoneIpcType::InventoryActionAck))] InventoryActionAck { sequence: u32, - #[brw(pad_after = 12)] + #[brw(pad_after = 10)] action_type: u16, }, #[br(pre_assert(*magic == ServerZoneIpcType::UnkCall))]