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 | |
parent | 5a6b02b6aba646816a7d27a85dd6724de554a157 (diff) | |
download | mv-6f7f0b79bbf66db2f9200ab1450166cb699e3a08.tar.gz mv-6f7f0b79bbf66db2f9200ab1450166cb699e3a08.tar.bz2 mv-6f7f0b79bbf66db2f9200ab1450166cb699e3a08.tar.xz mv-6f7f0b79bbf66db2f9200ab1450166cb699e3a08.zip |
Play any item related sound as game sound and not as gui sounds.
-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, |