fix demo mode

This commit is contained in:
rr- 2021-03-30 00:10:27 +02:00
parent a1b9c2401e
commit 8095ea2ac1
No known key found for this signature in database
GPG key ID: CC65E6FD28CAE42A
2 changed files with 3 additions and 1 deletions

View file

@ -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) {

View file

@ -59,6 +59,8 @@ int32_t StopGame()
int32_t GameLoop(int32_t demo_mode)
{
NoInputCount = 0;
ResetFlag = 0;
OverlayFlag = 1;
InitialiseCamera();