Skip to content

Commit

Permalink
Allow to reload/go to next level in non-level game states
Browse files Browse the repository at this point in the history
I.e. also from intermission and finale screens.
  • Loading branch information
JNechaevsky committed Apr 22, 2024
1 parent e692367 commit e68bc1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doom/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -4344,7 +4344,7 @@ static int G_ReloadLevel (void)
{
int result = false;

if (gamestate == GS_LEVEL)
if (gamestate != GS_DEMOSCREEN)
{
// [crispy] restart demos from the map they were started
if (demorecording)
Expand Down Expand Up @@ -4415,7 +4415,7 @@ static int G_GotoNextLevel (void)
}
}

if (gamestate == GS_LEVEL)
if (gamestate != GS_DEMOSCREEN)
{
int epsd, map;

Expand Down

0 comments on commit e68bc1b

Please sign in to comment.