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.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 4cbe83027..63799f8db 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -113,6 +113,7 @@ InventoryHandler::InventoryHandler() :
SMSG_PLAYER_STORAGE_PASSWORD,
SMSG_PLAYER_STORAGE_PASSWORD_RESULT,
SMSG_PLAYER_COOKING_LIST,
+ SMSG_ITEM_DAMAGED,
0
};
handledMessages = _messages;
@@ -273,6 +274,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
processPlayerCookingList(msg);
break;
+ case SMSG_ITEM_DAMAGED:
+ processItemDamaged(msg);
+ break;
+
default:
break;
}
@@ -1082,4 +1087,12 @@ void InventoryHandler::processPlayerCookingList(Net::MessageIn &msg)
msg.readInt16("item id");
}
+void InventoryHandler::processItemDamaged(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt16("position");
+ msg.readInt32("account id");
+}
+
} // namespace EAthena