From ff58e4ec6f1a0ff345de5268f39a8f6cf4788542 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 29 Apr 2022 01:38:55 +0200 Subject: [PATCH] - fixed Playdemo and Timedemo check The assumption that D_DoomLoop never returns does not apply anymore. Let it fall through to the end instead where this is properly handled. --- src/d_main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index 27f2fa8657..58261a9a0a 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -3520,7 +3520,6 @@ static int D_DoomMain_Internal (void) { singledemo = true; // quit after one demo G_DeferedPlayDemo (v); - D_DoomLoop (); // never returns } else { @@ -3528,7 +3527,6 @@ static int D_DoomMain_Internal (void) if (v) { G_TimeDemo(v); - D_DoomLoop(); // never returns } else {