commit 4bce23ff8c40c917c5f6b3524db173611aa0f746
Author: Jonathan Dowland <jon+github@alcopop.org>
AuthorDate: Fri May 22 16:35:37 2015 +0100
Commit: Jonathan Dowland <jon+github@alcopop.org>
CommitDate: Mon Jun 15 18:11:06 2015 +0100
Use Mix_PlayChannel instead of Mix_PlayChannelTimed
For some reason Mix_PlayChannelTimed was being used, albeit with
no timer, which is equivalent to Mix_PlayChannel but confusing.
---
src/i_sdlsound.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/i_sdlsound.c b/src/i_sdlsound.c
index 79a15dbf..2f33edae 100644
--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -882,7 +882,7 @@ static int I_SDL_StartSound(sfxinfo_t *sfxinfo, int channel, int vol, int sep)
// play sound
- Mix_PlayChannelTimed(channel, &snd->chunk, 0, -1);
+ Mix_PlayChannel(channel, &snd->chunk, 0);
channels_playing[channel] = sfxinfo;