summaryrefslogtreecommitdiff
path: root/src/resources/soundeffect.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-05 19:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-05 19:18:46 +0300
commitaf4727577f39720564b4339de267aa0aae7af4a5 (patch)
treede1d0cb7328c1d72405600870742c295c352fcaa /src/resources/soundeffect.cpp
parent0c0ba36a78c155a120ed4b4ad7791341d93d5dd8 (diff)
downloadmanaplus-af4727577f39720564b4339de267aa0aae7af4a5.tar.gz
manaplus-af4727577f39720564b4339de267aa0aae7af4a5.tar.bz2
manaplus-af4727577f39720564b4339de267aa0aae7af4a5.tar.xz
manaplus-af4727577f39720564b4339de267aa0aae7af4a5.zip
Fix multiply new message sounds at same time.
Diffstat (limited to 'src/resources/soundeffect.cpp')
-rw-r--r--src/resources/soundeffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/soundeffect.cpp b/src/resources/soundeffect.cpp
index 49e7adc31..de11a8786 100644
--- a/src/resources/soundeffect.cpp
+++ b/src/resources/soundeffect.cpp
@@ -53,7 +53,7 @@ Resource *SoundEffect::load(void *buffer, unsigned bufferSize)
}
}
-bool SoundEffect::play(int loops, int volume)
+bool SoundEffect::play(int loops, int volume, int channel)
{
Mix_VolumeChunk(mChunk, volume);