From 65a88f27b994f7ade178368c569d466f6344ded6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Oct 2013 17:38:19 +0300 Subject: add sound effects for equip/unequip/use items for local player. It using: "equip", "unequip", "use" effects from items. If no item effect present, fallback to same effects from player race. --- src/gui/windows/outfitwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/outfitwindow.cpp') diff --git a/src/gui/windows/outfitwindow.cpp b/src/gui/windows/outfitwindow.cpp index 73acf475a..ff1088071 100644 --- a/src/gui/windows/outfitwindow.cpp +++ b/src/gui/windows/outfitwindow.cpp @@ -279,7 +279,7 @@ void OutfitWindow::wearOutfit(const int outfit, const bool unwearEmpty, { if (item->isEquipment()) { - PlayerInfo::equipItem(item); + PlayerInfo::equipItem(item, false); isEmpty = false; } } @@ -522,7 +522,7 @@ void OutfitWindow::unequipNotInOutfit(const int outfit) const } } if (!found) - PlayerInfo::unequipItem(item); + PlayerInfo::unequipItem(item, false); } } } -- cgit v1.2.3-70-g09d2