- changed I_GetTimeFrac to return a double instead of a fixed_t.

This commit is contained in:
Christoph Oelckers 2016-03-24 12:00:21 +01:00
commit 09d8b4af80
6 changed files with 13 additions and 15 deletions

View file

@ -1006,12 +1006,12 @@ void R_SetupFrame (AActor *actor)
iview->otic = nowtic;
}
r_TicFrac = I_GetTimeFrac (&r_FrameTime);
r_TicFracF = I_GetTimeFrac (&r_FrameTime);
if (cl_capfps || r_NoInterpolate)
{
r_TicFrac = FRACUNIT;
r_TicFracF = 1.;
}
r_TicFracF = FIXED2DBL(r_TicFrac);
r_TicFrac = FLOAT2FIXED(r_TicFracF);
R_InterpolateView (player, r_TicFrac, iview);