summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-03 23:21:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:56 +0300
commit7890bb3f423dbdb815d97f066594ae8917c5cee7 (patch)
tree69b484e4e0f28384590a650b79a1ae77bb5f0a23 /src/net/ea/inventoryhandler.cpp
parenta37b34f16d81c0b60376c63a11974c401faa2f91 (diff)
downloadmv-7890bb3f423dbdb815d97f066594ae8917c5cee7.tar.gz
mv-7890bb3f423dbdb815d97f066594ae8917c5cee7.tar.bz2
mv-7890bb3f423dbdb815d97f066594ae8917c5cee7.tar.xz
mv-7890bb3f423dbdb815d97f066594ae8917c5cee7.zip
eathena: move processPlayerUnEquip from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r--src/net/ea/inventoryhandler.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 3477d0498..a1b7dbd8e 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -386,20 +386,6 @@ void InventoryHandler::processPlayerStorageClose(Net::MessageIn &msg A_UNUSED)
BLOCK_END("InventoryHandler::processPlayerStorageClose")
}
-void InventoryHandler::processPlayerUnEquip(Net::MessageIn &msg)
-{
- BLOCK_START("InventoryHandler::processPlayerUnEquip")
- msg.readInt16(); // inder val - INVENTORY_OFFSET;
- const int equipType = msg.readInt16();
- const uint8_t flag = msg.readUInt8();
-
- if (flag)
- mEquips.setEquipment(getSlot(equipType), -1);
- if (equipType & 0x8000)
- ArrowsListener::distributeEvent();
- BLOCK_END("InventoryHandler::processPlayerUnEquip")
-}
-
void InventoryHandler::processPlayerAttackRange(Net::MessageIn &msg)
{
BLOCK_START("InventoryHandler::processPlayerAttackRange")