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
969d449973
commit
85ce207e9c
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue