diff --git a/client/media/CSoundHandler.cpp b/client/media/CSoundHandler.cpp index b5a427cf2..8c25df044 100644 --- a/client/media/CSoundHandler.cpp +++ b/client/media/CSoundHandler.cpp @@ -201,7 +201,7 @@ int CSoundHandler::playSoundImpl(const AudioPath & sound, int repeats, bool useC if(chunk) { - channel = Mix_PlayChannel(-1, chunk, 0); + channel = Mix_PlayChannel(-1, chunk, repeats); if(channel == -1) { logGlobal->error("Unable to play sound file %s , error %s", sound.getOriginalName(), Mix_GetError());