diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-19 01:11:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-19 01:11:52 +0300 |
commit | 0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b (patch) | |
tree | 4d03ab1e6b655bccafbad06e5cc3386a4f6480d7 /src/itemsoundmanager.cpp | |
parent | 29a93440367af32463f285ae5f0bd2aa23aadc92 (diff) | |
download | manaverse-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.gz manaverse-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.bz2 manaverse-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.tar.xz manaverse-0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b.zip |
Move itemsoundevent into separate file.
Diffstat (limited to 'src/itemsoundmanager.cpp')
-rw-r--r-- | src/itemsoundmanager.cpp | 6 |
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; |