summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp5
1 files changed, 2 insertions, 3 deletions
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())
{