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)]
pub struct SmallDialog {
padding: [u32; 0x02],
msg: String,
}
impl SmallDialog {
pub fn new(msg: String) -> SmallDialog {
SmallDialog {
padding: [0; 0x02],
msg: msg,
}
}

Loading…
Cancel
Save