mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
M_TimeFrac: interpolate when game is paused
This commit is contained in:
parent
bef7c3634b
commit
322f7fc2a2
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ int snprintf(char *str, size_t n, const char *fmt, ...);
|
||||||
|
|
||||||
fixed_t M_TimeFrac(tic_t tics, tic_t duration)
|
fixed_t M_TimeFrac(tic_t tics, tic_t duration)
|
||||||
{
|
{
|
||||||
return tics < duration ? (tics * FRACUNIT + rendertimefrac) / duration : FRACUNIT;
|
return tics < duration ? (tics * FRACUNIT + rendertimefrac_unpaused) / duration : FRACUNIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
fixed_t M_ReverseTimeFrac(tic_t tics, tic_t duration)
|
fixed_t M_ReverseTimeFrac(tic_t tics, tic_t duration)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue