From c030c786578bc33fbd37ecb2fa86f306f7920557 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 9 Sep 2015 17:46:17 +0300 Subject: Add also notification about dropped item. --- src/net/eathena/inventoryrecv.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net') diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp index d3496a149..8cd1d6496 100644 --- a/src/net/eathena/inventoryrecv.cpp +++ b/src/net/eathena/inventoryrecv.cpp @@ -991,6 +991,11 @@ void InventoryRecv::processPlayerInventoryRemove(Net::MessageIn &msg) { if (Item *const item = inventory->getItem(index)) { + if (amount) + { + NotifyManager::notify(NotifyTypes::DELETE_ITEM_DROPPED, + item->getName()); + } item->increaseQuantity(-amount); if (item->getQuantity() == 0) inventory->removeItemAt(index); -- cgit v1.2.3-70-g09d2