From fdde5f13c59e8a55278ab128ce6b295d5dd600c3 Mon Sep 17 00:00:00 2001
From: mazmazz <mar.marcoz@outlook.com>
Date: Wed, 13 Mar 2019 23:55:30 -0400
Subject: [PATCH] When resetting volume on same music, make it fade instead of
 a hard change

---
 src/s_sound.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/s_sound.c b/src/s_sound.c
index f3e3308478..acb7dcbbe3 100644
--- a/src/s_sound.c
+++ b/src/s_sound.c
@@ -1526,7 +1526,7 @@ void S_ChangeMusicEx(const char *mmusic, UINT16 mflags, boolean looping, UINT32
 	else // reset volume to 100 with same music
 	{
 		I_StopFadingSong();
-		I_SetInternalMusicVolume(100);
+		I_FadeSong(100, 500, NULL);
 	}
 }
 
-- 
GitLab