Skip to content

Commit

Permalink
Hexen: Quit Demo on Player Reborn when in Demo-Reel.
Browse files Browse the repository at this point in the history
  • Loading branch information
Noseey committed Jan 4, 2025
1 parent 4bb8c3e commit bc72f65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/hexen/g_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -1775,8 +1775,9 @@ void G_DoReborn(int playernum)
boolean foundSpot;
int bestWeapon;

// quit demo unless -demoextend
if (!demoextend && G_CheckDemoStatus())
// Don't quit demo unless no demoextend or played demo from reel
if ((!demoextend || (demoplayback && !timingdemo && !singledemo))
&& G_CheckDemoStatus())
{
return;
}
Expand Down

0 comments on commit bc72f65

Please sign in to comment.