From e9cc6c1f66ef9fceafa1787616c981f656502bf0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Sep 2014 13:55:45 +0300 Subject: eathena: fix handling packet SMSG_PLAYER_INVENTORY_ADD 0x0990. --- src/net/eathena/inventoryhandler.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/net') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 0bc5b3e8d..1ee1f8f9d 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -286,12 +286,11 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg) msg.readInt16("card3"); const int equipType = msg.readInt32("location"); msg.readUInt8("item type"); - msg.readUInt8("fail flag"); + const unsigned char err = msg.readUInt8("result"); msg.readInt32("hire expire date"); - msg.readInt16("equip type"); + msg.readInt16("bind on equip"); const ItemInfo &itemInfo = ItemDB::get(itemId); - const unsigned char err = msg.readUInt8(); int floorId; if (mSentPickups.empty()) { -- cgit v1.2.3-70-g09d2