diff --git a/src/ItemManager.cpp b/src/ItemManager.cpp index dd12d18..d9b88b4 100644 --- a/src/ItemManager.cpp +++ b/src/ItemManager.cpp @@ -428,6 +428,9 @@ void ItemManager::itemTradeOfferAcceptHandler(CNSocket* sock, CNPacketData* data plr->isTradeConfirm = false; plr2->isTradeConfirm = false; + plr->moneyInTrade = 0; + plr2->moneyInTrade = 0; + memset(&plr->Trade, 0, sizeof(plr->Trade)); memset(&plr2->Trade, 0, sizeof(plr2->Trade));