mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-06-03 02:01:09 +00:00
Bugfix: When you stop hearing the music, allow the caption to expire sooner rather than later.
This commit is contained in:
parent
73f1550242
commit
0af9de2ba6
1 changed files with 6 additions and 0 deletions
|
@ -1420,6 +1420,12 @@ void S_StopMusic(void)
|
||||||
|
|
||||||
music_data = NULL;
|
music_data = NULL;
|
||||||
music_name[0] = 0;
|
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)
|
void S_SetDigMusicVolume(INT32 volume)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue