From db43ad3b72fe207e6cc03a1fd341ea598d123319 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Oct 2013 19:19:53 +0300 Subject: add pickup and drop sound effects. Works like equip/unequip effects. --- src/gui/windows/inventorywindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/windows/inventorywindow.cpp') diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 0cc9b4e0e..64d9347af 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -379,8 +379,7 @@ void InventoryWindow::action(const gcn::ActionEvent &event) { if (inputManager.isActionActive(static_cast(Input::KEY_MOD))) { - Net::getInventoryHandler()->dropItem( - item, item->getQuantity()); + PlayerInfo::dropItem(item, item->getQuantity(), true); } else { -- cgit v1.2.3-70-g09d2