From 558dcaea9d56fb1c65ce468869dfe0e409ca1878 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 9 Sep 2015 15:11:05 +0300 Subject: Add unequip error notification. --- src/net/eathena/inventoryrecv.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp index 83350a449..602c6680f 100644 --- a/src/net/eathena/inventoryrecv.cpp +++ b/src/net/eathena/inventoryrecv.cpp @@ -357,10 +357,9 @@ void InventoryRecv::processPlayerUnEquip(Net::MessageIn &msg) const int equipType = msg.readInt32("wear location"); const uint8_t flag = msg.readUInt8("result"); - // +++ need use UNEQUIP_FAILED event if (flag) { - NotifyManager::notify(NotifyTypes::EQUIP_FAILED); + NotifyManager::notify(NotifyTypes::UNEQUIP_FAILED); } else { -- cgit v1.2.3-70-g09d2