Do not interpolate if time between game tics <1/35

This commit is contained in:
James R 2022-01-12 04:36:37 -08:00
parent 969d449973
commit 85ce207e9c

View file

@ -787,6 +787,9 @@ void D_SRB2Loop(void)
entertimefrac = FLOAT_TO_FIXED(entertime - tictime);
if (entertimefrac < FRACUNIT)
entertimefrac = FRACUNIT;
// renderdeltatics is a bit awkard to evaluate, since the system time interface is whole tic-based
renderdeltatics = realtics * FRACUNIT;
if (entertimefrac > rendertimefrac)