Browse Source

added missing padding

pull/3/head
andy 5 years ago
parent
commit
9b929d40f0
  1. 2
      src/packet/ship.rs

2
src/packet/ship.rs

@ -197,12 +197,14 @@ pub struct CreateRoom {
#[pso_packet(0x01)] #[pso_packet(0x01)]
pub struct SmallDialog { pub struct SmallDialog {
padding: [u32; 0x02],
msg: String, msg: String,
} }
impl SmallDialog { impl SmallDialog {
pub fn new(msg: String) -> SmallDialog { pub fn new(msg: String) -> SmallDialog {
SmallDialog { SmallDialog {
padding: [0; 0x02],
msg: msg, msg: msg,
} }
} }

Loading…
Cancel
Save