diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c index a82187b26..69e46919f 100644 --- a/src/sdl/mixer_sound.c +++ b/src/sdl/mixer_sound.c @@ -723,15 +723,14 @@ boolean I_StartDigSong(const char *musicname, boolean looping) } } - if (Mix_PlayMusic(music, looping && loop_point == 0.0f ? -1 : 0) == -1) + if (Mix_PlayMusic(music, 0) == -1) { CONS_Alert(CONS_ERROR, "Mix_PlayMusic: %s\n", Mix_GetError()); return true; } Mix_VolumeMusic((UINT32)music_volume*128/31); - if (loop_point != 0.0f) - Mix_HookMusicFinished(music_loop); + Mix_HookMusicFinished(music_loop); music_bytes = 0; if(!Mix_RegisterEffect(MIX_CHANNEL_POST, count_music_bytes, NULL, NULL))