summaryrefslogtreecommitdiff
path: root/src/itemsoundmanager.cpp
diff options
context:
space:
mode:
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;