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 committed by SinnamonLat
parent c812d6fdd7
commit fd9590cc3d

View file

@ -789,6 +789,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)