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:
helixhorned 2013-01-23 19:36:52 +00:00
parent f10063eec3
commit ee9fc04c9a

View file

@ -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));