From 5f87f4a47aa4e9e0af487898200d9e0197a8fa1c Mon Sep 17 00:00:00 2001 From: mazmazz Date: Tue, 11 Sep 2018 11:19:34 -0400 Subject: [PATCH] Don't decrement fade timer if song is paused --- src/sdl/mixer_sound.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c index 64ab64cd9..41248245f 100644 --- a/src/sdl/mixer_sound.c +++ b/src/sdl/mixer_sound.c @@ -537,6 +537,8 @@ static UINT32 music_fade(UINT32 interval, void *param) do_fading_callback(); return 0; } + else if (songpaused) // don't decrement timer + return interval; else if ((fading_timer -= 10) <= 0) { internal_volume = fading_target;