Skip to content

Commit

Permalink
Fix finale after ExM8
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Dec 7, 2024
1 parent 50d6535 commit fa8586c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/f_finale.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fa8586c

Please sign in to comment.