Browse Source

Merge pull request 'fix tradesuccess flag thing' (#12) from tradesuccessful into master

Reviewed-on: #12
pull/13/head
jake 3 years ago
parent
commit
315cfded37
  1. 6
      src/packet/ship.rs

6
src/packet/ship.rs

@ -622,15 +622,15 @@ pub struct TradeConfirmed {
pub struct CancelTrade {
}
#[pso_packet(0xD4)]
#[pso_packet(0xD4, manual_flag)]
pub struct TradeSuccessful {
success: u8,
flag: u32,
}
impl std::default::Default for TradeSuccessful {
fn default() -> TradeSuccessful {
TradeSuccessful {
success: 1,
flag: 1,
}
}
}
Loading…
Cancel
Save