- changed I_GetTimeFrac to return a double instead of a fixed_t.
This commit is contained in:
parent
c83ad9df6c
commit
09d8b4af80
6 changed files with 13 additions and 15 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue