- fixed bad checks for uncapped frame rate.

This commit is contained in:
Christoph Oelckers 2020-09-18 23:18:42 +02:00
parent 005f8feceb
commit d8639a9a64
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}