From 0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 19 May 2014 01:11:52 +0300 Subject: Move itemsoundevent into separate file. --- src/itemsoundmanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/itemsoundmanager.cpp') 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; -- cgit v1.2.3-70-g09d2