Skip to content

Commit

Permalink
Heretic/Hexen: No extended demos after advancing in demosequence (#1256)
Browse files Browse the repository at this point in the history
* Heretic: Quit Demo on Player Reborn when in Demo-Reel.

* Hexen: Quit Demo on Player Reborn when in Demo-Reel.

* Revert "Hexen: Quit Demo on Player Reborn when in Demo-Reel."

This reverts commit bc72f65.

* Heretic: Disable demoextend instead of adding condition to DoReborn

.. to quit demos on player death during demo-reels.

* Hexen: No extended demos after advancing in demosequence

to be consistent with Heretic.
  • Loading branch information
Noseey authored Jan 6, 2025
1 parent 793aaab commit b0ce5af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/heretic/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ void D_DoAdvanceDemo(void)
advancedemo = false;
usergame = false; // can't save / end game here
paused = false;
demoextend = false; // [crispy] at this point demos should no longer be extended (demo-reel)
gameaction = ga_nothing;
demosequence = (demosequence + 1) % 7;
switch (demosequence)
Expand Down
1 change: 1 addition & 0 deletions src/hexen/h2_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,7 @@ void H2_DoAdvanceDemo(void)
advancedemo = false;
usergame = false; // can't save/end game here
paused = false;
demoextend = false; // [crispy] at this point demos should no longer be extended (demo-reel)
gameaction = ga_nothing;
demosequence = (demosequence + 1) % 7;
switch (demosequence)
Expand Down

0 comments on commit b0ce5af

Please sign in to comment.