Skip to content

Commit

Permalink
fix demo mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Mar 29, 2021
1 parent a1b9c24 commit 8095ea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/control.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ int32_t ControlPhase(int32_t nframes, int32_t demo_mode)
S_UpdateInput();

if (ResetFlag) {
return GF_EXIT_TO_TITLE;
return GF_NOP_BREAK;
}

if (demo_mode) {
Expand Down
2 changes: 2 additions & 0 deletions src/game/game.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ int32_t StopGame()

int32_t GameLoop(int32_t demo_mode)
{
NoInputCount = 0;
ResetFlag = 0;
OverlayFlag = 1;
InitialiseCamera();

Expand Down

0 comments on commit 8095ea2

Please sign in to comment.