When changing to same music, reset the internal volume

This commit is contained in:
mazmazz 2019-03-13 23:17:35 -04:00
parent c021e29835
commit 67e2857303
1 changed files with 5 additions and 0 deletions

View File

@ -1523,6 +1523,11 @@ void S_ChangeMusicEx(const char *mmusic, UINT16 mflags, boolean looping, UINT32
I_SetSongPosition(position);
I_FadeSong(100, fadeinms, NULL);
}
else // reset volume to 100 with same music
{
I_StopFadingSong();
I_SetInternalMusicVolume(100);
}
}
void S_StopMusic(void)