summaryrefslogtreecommitdiff
path: root/src/dragdrop.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 01:11:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 01:11:52 +0300
commit0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b (patch)
tree4d03ab1e6b655bccafbad06e5cc3386a4f6480d7 /src/dragdrop.h
parent29a93440367af32463f285ae5f0bd2aa23aadc92 (diff)
downloadplus-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.gz
plus-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.bz2
plus-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.xz
plus-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.zip
Move itemsoundevent into separate file.
Diffstat (limited to 'src/dragdrop.h')
-rw-r--r--src/dragdrop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dragdrop.h b/src/dragdrop.h
index 6f18479a4..b277af3b9 100644
--- a/src/dragdrop.h
+++ b/src/dragdrop.h
@@ -104,7 +104,7 @@ class DragDrop final
mItemImage->incRef();
mSource = source;
mTag = tag;
- ItemSoundManager::playSfx(item, SOUND_EVENT_TAKE);
+ ItemSoundManager::playSfx(item, ItemSoundEvent::TAKE);
}
else
{
@@ -183,7 +183,7 @@ class DragDrop final
if (mItemImage)
mItemImage->decRef();
if (mItem)
- ItemSoundManager::playSfx(mItem, SOUND_EVENT_PUT);
+ ItemSoundManager::playSfx(mItem, ItemSoundEvent::PUT);
mItem = 0;
mItemColor = 1;
mItemImage = nullptr;