diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-09 15:11:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-09 15:11:05 +0300 |
commit | 558dcaea9d56fb1c65ce468869dfe0e409ca1878 (patch) | |
tree | 45ea44c11519b0186d12cbe2b12524a60721ba5e /src/net/eathena/inventoryrecv.cpp | |
parent | 8ac73cce3f9808c8fa48b280635104d9587c9c5a (diff) | |
download | plus-558dcaea9d56fb1c65ce468869dfe0e409ca1878.tar.gz plus-558dcaea9d56fb1c65ce468869dfe0e409ca1878.tar.bz2 plus-558dcaea9d56fb1c65ce468869dfe0e409ca1878.tar.xz plus-558dcaea9d56fb1c65ce468869dfe0e409ca1878.zip |
Add unequip error notification.
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r-- | src/net/eathena/inventoryrecv.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |