From 0af6ac61cb8fbe5b1b0a593a705a14c8a01e2fa3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Sep 2014 22:57:56 +0300 Subject: eathena: fix packet CMSG_PLAYER_EQUIP 0x0998. --- src/net/eathena/inventoryhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/inventoryhandler.cpp') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 1d32cda58..3eb10d28b 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -149,8 +149,8 @@ void InventoryHandler::equipItem(const Item *const item) const MessageOut outMsg(CMSG_PLAYER_EQUIP); outMsg.writeInt16(static_cast( - item->getInvIndex() + INVENTORY_OFFSET)); - outMsg.writeInt16(0); + item->getInvIndex() + INVENTORY_OFFSET), "index"); + outMsg.writeInt32(0, "wear location"); } void InventoryHandler::unequipItem(const Item *const item) const -- cgit v1.2.3-60-g2f50