mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
game.c: replace one missed instance of inline code with calc_smoothratio().
git-svn-id: https://svn.eduke32.com/eduke32@3428 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f10063eec3
commit
ee9fc04c9a
1 changed files with 1 additions and 1 deletions
|
@ -3546,7 +3546,7 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio)
|
|||
if (ud.pause_on || g_player[snum].ps->on_crane > -1)
|
||||
smoothratio = 65536;
|
||||
else
|
||||
smoothratio = clamp((totalclock-ototalclock)*(65536/4), 0, 65536);
|
||||
smoothratio = calc_smoothratio(totalclock, ototalclock);
|
||||
|
||||
g_visibility = (int32_t)(p->visibility * (numplayers > 1 ? 1.f : r_ambientlightrecip));
|
||||
|
||||
|
|
Loading…
Reference in a new issue