From 9b929d40f01633513749c85401d7edde7fa7ab1f Mon Sep 17 00:00:00 2001 From: andy Date: Sat, 11 Jan 2020 23:20:42 -0400 Subject: [PATCH] added missing padding --- src/packet/ship.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/packet/ship.rs b/src/packet/ship.rs index 9f776dd..5a704b3 100644 --- a/src/packet/ship.rs +++ b/src/packet/ship.rs @@ -197,12 +197,14 @@ pub struct CreateRoom { #[pso_packet(0x01)] pub struct SmallDialog { + padding: [u32; 0x02], msg: String, } impl SmallDialog { pub fn new(msg: String) -> SmallDialog { SmallDialog { + padding: [0; 0x02], msg: msg, } }