mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Do not interpolate if time between game tics <1/35
This commit is contained in:
parent
c812d6fdd7
commit
fd9590cc3d
1 changed files with 3 additions and 0 deletions
|
|
@ -789,6 +789,9 @@ void D_SRB2Loop(void)
|
||||||
|
|
||||||
entertimefrac = FLOAT_TO_FIXED(entertime - tictime);
|
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 is a bit awkard to evaluate, since the system time interface is whole tic-based
|
||||||
renderdeltatics = realtics * FRACUNIT;
|
renderdeltatics = realtics * FRACUNIT;
|
||||||
if (entertimefrac > rendertimefrac)
|
if (entertimefrac > rendertimefrac)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue