mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
parent
85ce207e9c
commit
6a7ca44302
1 changed files with 3 additions and 3 deletions
|
|
@ -785,10 +785,10 @@ void D_SRB2Loop(void)
|
||||||
if (ticked)
|
if (ticked)
|
||||||
tictime = entertime;
|
tictime = entertime;
|
||||||
|
|
||||||
entertimefrac = FLOAT_TO_FIXED(entertime - tictime);
|
if (aproxfps < 35.0)
|
||||||
|
|
||||||
if (entertimefrac < FRACUNIT)
|
|
||||||
entertimefrac = FRACUNIT;
|
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 is a bit awkard to evaluate, since the system time interface is whole tic-based
|
||||||
renderdeltatics = realtics * FRACUNIT;
|
renderdeltatics = realtics * FRACUNIT;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue