Use S_FadeMusic instead of S_FadeOutStopMusic near starttime

Had no deleterious effect when the I_FadeSong hits 0 volume while paused, and seems to be a possible solution to fixing the music-stopping issue..?
This commit is contained in:
toaster 2023-03-01 17:03:47 +00:00
parent 13a987a0a2
commit a2b5844ae8

View file

@ -662,7 +662,7 @@ void P_Ticker(boolean run)
if (leveltime == starttime-(3*TICRATE))
{
S_StartSound(NULL, sfx_s3ka7); // 3,
S_FadeOutStopMusic(3500);
S_FadeMusic(0, 3500); //S_FadeOutStopMusic(3500); -- TODO the S_StopMusic callback can halt successor music instead
}
else if ((leveltime == starttime-(2*TICRATE)) || (leveltime == starttime-TICRATE))
{