From 393fee317e0cfced785304d8ce64ae1be8a2b0a5 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Thu, 8 Nov 2018 14:43:06 -0500 Subject: [PATCH] Fix for the Y_FollowIntermission change hurting Record Attack Should probably be ported to vanilla --- src/g_game.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/g_game.c b/src/g_game.c index c4fcc432..cb23a130 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -3552,7 +3552,13 @@ void G_AfterIntermission(void) HU_ClearCEcho(); //G_NextLevel(); - if (mapheaderinfo[gamemap-1]->cutscenenum && !modeattacking) // Start a custom cutscene. + if (modeattacking) // End the run. + { + M_EndModeAttackRun(); + return; + } + + if (mapheaderinfo[gamemap-1]->cutscenenum) // Start a custom cutscene. F_StartCustomCutscene(mapheaderinfo[gamemap-1]->cutscenenum-1, false, false); else {