summaryrefslogtreecommitdiff
path: root/src/soundmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 22:40:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 22:40:29 +0300
commit7bd1dfced8823f59adb923170345664219545410 (patch)
tree0042b2e5359b5cab33a70033657a5fa13263e82c /src/soundmanager.cpp
parenteeb6f3b831e707b413a10de53c7f72139e73f963 (diff)
downloadplus-7bd1dfced8823f59adb923170345664219545410.tar.gz
plus-7bd1dfced8823f59adb923170345664219545410.tar.bz2
plus-7bd1dfced8823f59adb923170345664219545410.tar.xz
plus-7bd1dfced8823f59adb923170345664219545410.zip
Remove default parameter from soundeffect.h
Diffstat (limited to 'src/soundmanager.cpp')
-rw-r--r--src/soundmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp
index 5a9ddb333..437e77775 100644
--- a/src/soundmanager.cpp
+++ b/src/soundmanager.cpp
@@ -485,7 +485,7 @@ void SoundManager::playSfx(const std::string &path,
vol -= dist * 8;
}
- sample->play(0, vol);
+ sample->play(0, vol, -1);
if (!mCacheSounds)
sample->decRef();
}