From 0af9de2ba6db81fe04dadb40a3d510e86cb15236 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Sat, 29 Apr 2017 16:40:07 +0100 Subject: [PATCH] Bugfix: When you stop hearing the music, allow the caption to expire sooner rather than later. --- src/s_sound.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/s_sound.c b/src/s_sound.c index 41a229b85..e9e61078b 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -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)