From 2bf0ec5257def543868d2b902661569d1430799b Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 23 Nov 2021 01:08:26 -0700 Subject: [PATCH] fix tradesuccess flag thing --- src/packet/ship.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/packet/ship.rs b/src/packet/ship.rs index 6abb2dd..e01463c 100644 --- a/src/packet/ship.rs +++ b/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, } } }