From e909cb0a733f3eccc061abc11bddadfddfcc125b Mon Sep 17 00:00:00 2001 From: James R Date: Wed, 12 Jan 2022 12:57:52 -0800 Subject: [PATCH] Don't interpolate frames if avg <35 Proper solution for 85ce207e9 --- src/d_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/d_main.c b/src/d_main.c index df83e378d..37ed9c4bc 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -787,10 +787,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;