summaryrefslogtreecommitdiff
path: root/src/resources/soundeffect.h
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.h
parent0c0ba36a78c155a120ed4b4ad7791341d93d5dd8 (diff)
downloadmanaverse-af4727577f39720564b4339de267aa0aae7af4a5.tar.gz
manaverse-af4727577f39720564b4339de267aa0aae7af4a5.tar.bz2
manaverse-af4727577f39720564b4339de267aa0aae7af4a5.tar.xz
manaverse-af4727577f39720564b4339de267aa0aae7af4a5.zip
Fix multiply new message sounds at same time.
Diffstat (limited to 'src/resources/soundeffect.h')
-rw-r--r--src/resources/soundeffect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/soundeffect.h b/src/resources/soundeffect.h
index 80f826646..fdd4bd275 100644
--- a/src/resources/soundeffect.h
+++ b/src/resources/soundeffect.h
@@ -54,11 +54,12 @@ class SoundEffect : public Resource
*
* @param loops Number of times to repeat the playback.
* @param volume Sample playback volume.
+ * @param channel Sample playback channel.
*
* @return <code>true</code> if the playback started properly
* <code>false</code> otherwise.
*/
- virtual bool play(int loops, int volume);
+ virtual bool play(int loops, int volume, int channel = -1);
protected:
/**