diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-05 21:32:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-05 21:32:56 +0300 |
commit | 64a14cb9d04c4cf0ea5a2ff5b09578c86335086b (patch) | |
tree | f78d166c93f19c6b563892425b94faaa7208c762 /src | |
parent | 93e87e3d637b1a98a5f0cfee945e8ceb7799fcad (diff) | |
download | manaverse-64a14cb9d04c4cf0ea5a2ff5b09578c86335086b.tar.gz manaverse-64a14cb9d04c4cf0ea5a2ff5b09578c86335086b.tar.bz2 manaverse-64a14cb9d04c4cf0ea5a2ff5b09578c86335086b.tar.xz manaverse-64a14cb9d04c4cf0ea5a2ff5b09578c86335086b.zip |
fix missing set sound channel.
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/soundeffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/soundeffect.cpp b/src/resources/soundeffect.cpp index de11a8786..e8e5d3dbb 100644 --- a/src/resources/soundeffect.cpp +++ b/src/resources/soundeffect.cpp @@ -57,5 +57,5 @@ bool SoundEffect::play(int loops, int volume, int channel) { Mix_VolumeChunk(mChunk, volume); - return Mix_PlayChannel(-1, mChunk, loops) != -1; + return Mix_PlayChannel(channel, mChunk, loops) != -1; } |