diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-08-06 23:44:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-08-06 23:44:35 +0300 |
commit | 6f7f0b79bbf66db2f9200ab1450166cb699e3a08 (patch) | |
tree | 6f05fd511779c373b1db8572ebc5cd9e25dce363 /src | |
parent | 5a6b02b6aba646816a7d27a85dd6724de554a157 (diff) | |
download | manaverse-6f7f0b79bbf66db2f9200ab1450166cb699e3a08.tar.gz manaverse-6f7f0b79bbf66db2f9200ab1450166cb699e3a08.tar.bz2 manaverse-6f7f0b79bbf66db2f9200ab1450166cb699e3a08.tar.xz manaverse-6f7f0b79bbf66db2f9200ab1450166cb699e3a08.zip |
Play any item related sound as game sound and not as gui sounds.
Diffstat (limited to 'src')
-rw-r--r-- | src/itemsoundmanager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/itemsoundmanager.cpp b/src/itemsoundmanager.cpp index b33d2056f..aef955886 100644 --- a/src/itemsoundmanager.cpp +++ b/src/itemsoundmanager.cpp @@ -74,7 +74,9 @@ std::string ItemSoundManager::getSoundEffect(const Being *const being, void ItemSoundManager::playSfx(const ItemInfo &info, const ItemSoundEvent::Type sound) { - soundManager.playGuiSfx(getSoundEffect(localPlayer, info, sound)); + soundManager.playSfx(getSoundEffect(localPlayer, info, sound), + 0, + 0); } void ItemSoundManager::playSfx(const Being *const being, |