Bugfix: When you stop hearing the music, allow the caption to expire sooner rather than later.

This commit is contained in:
toasterbabe 2017-04-29 16:40:07 +01:00
parent 73f1550242
commit 0af9de2ba6

View file

@ -1420,6 +1420,12 @@ void S_StopMusic(void)
music_data = NULL;
music_name[0] = 0;
if (cv_closedcaptioning.value)
{
if (closedcaptions[0].s-S_sfx == sfx_None)
closedcaptions[0].t = CAPTIONFADETICS;
}
}
void S_SetDigMusicVolume(INT32 volume)