mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-25 06:51:09 +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)
|
||||
{
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue