From fa8586c9b7e35394d2087cce864bd076132fe0eb Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Sun, 8 Dec 2024 06:43:35 +1100 Subject: [PATCH] Fix finale after ExM8 --- src/f_finale.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/f_finale.c b/src/f_finale.c index 12d856922..e602ee0f9 100644 --- a/src/f_finale.c +++ b/src/f_finale.c @@ -334,8 +334,18 @@ void F_Ticker(void) S_StartMusic(mus_bunny); } } - else if ((gamemap == 30 && !P_GetMapNext(gameepisode, gamemap)) - || (gamemission == pack_nerve && gamemap == 8)) + else if (P_GetMapNext(gameepisode, gamemap)) + gameaction = ga_worlddone; + else if (gamemode != commercial) + { + finalecount = 0; + finalestage = F_STAGE_ARTSCREEN; + wipegamestate = GS_NONE; + + if (gameepisode == 3) + S_StartMusic(mus_bunny); + } + else if (gamemap == 30 || (gamemission == pack_nerve && gamemap == 8)) F_StartCast(); else gameaction = ga_worlddone;