Don't interpolate frames if avg <35

Proper solution for 85ce207e9
This commit is contained in:
James R 2022-01-12 12:57:52 -08:00
parent 85ce207e9c
commit 6a7ca44302

View file

@ -785,10 +785,10 @@ void D_SRB2Loop(void)
if (ticked)
tictime = entertime;
entertimefrac = FLOAT_TO_FIXED(entertime - tictime);
if (entertimefrac < FRACUNIT)
if (aproxfps < 35.0)
entertimefrac = FRACUNIT;
else
entertimefrac = FLOAT_TO_FIXED(entertime - tictime);
// renderdeltatics is a bit awkard to evaluate, since the system time interface is whole tic-based
renderdeltatics = realtics * FRACUNIT;