summaryrefslogtreecommitdiff
path: root/src/itemsoundmanager.cpp
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/itemsoundmanager.cpp
parent29a93440367af32463f285ae5f0bd2aa23aadc92 (diff)
downloadmv-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.gz
mv-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.bz2
mv-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.xz
mv-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.zip
Move itemsoundevent into separate file.
Diffstat (limited to 'src/itemsoundmanager.cpp')
-rw-r--r--src/itemsoundmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/itemsoundmanager.cpp b/src/itemsoundmanager.cpp
index 8132395aa..5206273a7 100644
--- a/src/itemsoundmanager.cpp
+++ b/src/itemsoundmanager.cpp
@@ -31,7 +31,7 @@
#include "debug.h"
void ItemSoundManager::playSfx(const Item *const item,
- const ItemSoundEvent sound)
+ const ItemSoundEvent::Type sound)
{
if (!item)
return;
@@ -39,7 +39,7 @@ void ItemSoundManager::playSfx(const Item *const item,
}
void ItemSoundManager::playSfx(const int itemId,
- const ItemSoundEvent sound)
+ const ItemSoundEvent::Type sound)
{
const ItemInfo &info = ItemDB::get(itemId);
std::string sfx = info.getSound(sound).sound;
@@ -54,7 +54,7 @@ void ItemSoundManager::playSfx(const int itemId,
}
void ItemSoundManager::playSfx(const FloorItem *const item,
- const ItemSoundEvent sound)
+ const ItemSoundEvent::Type sound)
{
if (!item)
return;