summaryrefslogtreecommitdiff
path: root/src/dragdrop.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-05 20:55:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-05 20:55:25 +0300
commit8b392d9c4a1c177c1207d297c75c1a4a06142245 (patch)
tree5bbced0cb581ee7333d5861b255efe0ce8cb802c /src/dragdrop.h
parent510bd78b8e6d3309c88ba772e4e1526da2b2a8c9 (diff)
downloadplus-8b392d9c4a1c177c1207d297c75c1a4a06142245.tar.gz
plus-8b392d9c4a1c177c1207d297c75c1a4a06142245.tar.bz2
plus-8b392d9c4a1c177c1207d297c75c1a4a06142245.tar.xz
plus-8b392d9c4a1c177c1207d297c75c1a4a06142245.zip
Remove wrong sound effect for drop item.
Now probably drop sound effect may not works for all windows. Need check each window for this effect.
Diffstat (limited to 'src/dragdrop.h')
-rw-r--r--src/dragdrop.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dragdrop.h b/src/dragdrop.h
index 4d5a02f68..3d04f111d 100644
--- a/src/dragdrop.h
+++ b/src/dragdrop.h
@@ -173,8 +173,6 @@ class DragDrop final
{
if (mItemImage)
mItemImage->decRef();
- if (mItem)
- ItemSoundManager::playSfx(mItem, ItemSoundEvent::PUT);
mItem = 0;
mItemColor = ItemColor_one;
mItemImage = nullptr;