summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-09 15:11:05 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-09 15:11:05 +0300
commit558dcaea9d56fb1c65ce468869dfe0e409ca1878 (patch)
tree45ea44c11519b0186d12cbe2b12524a60721ba5e /src/net
parent8ac73cce3f9808c8fa48b280635104d9587c9c5a (diff)
downloadplus-558dcaea9d56fb1c65ce468869dfe0e409ca1878.tar.gz
plus-558dcaea9d56fb1c65ce468869dfe0e409ca1878.tar.bz2
plus-558dcaea9d56fb1c65ce468869dfe0e409ca1878.tar.xz
plus-558dcaea9d56fb1c65ce468869dfe0e409ca1878.zip
Add unequip error notification.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/inventoryrecv.cpp3
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
{