From d8639a9a64fec7ec5888e98641aaf9087d121faf Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 18 Sep 2020 23:18:42 +0200 Subject: [PATCH] - fixed bad checks for uncapped frame rate. --- source/core/mainloop.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/core/mainloop.cpp b/source/core/mainloop.cpp index 5fe4bc68f..e50ac27de 100644 --- a/source/core/mainloop.cpp +++ b/source/core/mainloop.cpp @@ -387,8 +387,8 @@ void Display() C_DrawConsole(); M_Drawer(); FStat::PrintStat(twod); - DrawRateStuff(); } + DrawRateStuff(); videoShowFrame(1); } @@ -450,10 +450,10 @@ void TryRunTics (void) // If paused, do not eat more CPU time than we need, because it // will all be wasted anyway. - bool doWait = cl_capfps || pauseext || (r_NoInterpolate && !M_IsAnimated()); + bool doWait = (cl_capfps || pauseext || (r_NoInterpolate && !M_IsAnimated() && gamestate != GS_INTERMISSION && gamestate != GS_INTRO)); // get real tics - if (doWait && gamestate != GS_INTERMISSION && gamestate != GS_INTRO) // GS_INTERMISSION needs uncapped frame rate. + if (doWait) { entertic = I_WaitForTic (oldentertics); }