mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
- Use I_FPSTime() instead of I_MSTime() to drive R_UpdateAnimations().
SVN r2253 (trunk)
This commit is contained in:
parent
b3005ab16c
commit
7f96531dc0
2 changed files with 5 additions and 5 deletions
|
@ -657,7 +657,7 @@ void D_Display ()
|
|||
switch (gamestate)
|
||||
{
|
||||
case GS_FULLCONSOLE:
|
||||
R_UpdateAnimations(I_MSTime());
|
||||
R_UpdateAnimations(I_FPSTime());
|
||||
screen->SetBlendingRect(0,0,0,0);
|
||||
hw2d = screen->Begin2D(false);
|
||||
C_DrawConsole (false);
|
||||
|
@ -722,7 +722,7 @@ void D_Display ()
|
|||
break;
|
||||
|
||||
case GS_INTERMISSION:
|
||||
R_UpdateAnimations(I_MSTime());
|
||||
R_UpdateAnimations(I_FPSTime());
|
||||
screen->SetBlendingRect(0,0,0,0);
|
||||
hw2d = screen->Begin2D(false);
|
||||
WI_Drawer ();
|
||||
|
@ -730,7 +730,7 @@ void D_Display ()
|
|||
break;
|
||||
|
||||
case GS_FINALE:
|
||||
R_UpdateAnimations(I_MSTime());
|
||||
R_UpdateAnimations(I_FPSTime());
|
||||
screen->SetBlendingRect(0,0,0,0);
|
||||
hw2d = screen->Begin2D(false);
|
||||
F_Drawer ();
|
||||
|
@ -738,7 +738,7 @@ void D_Display ()
|
|||
break;
|
||||
|
||||
case GS_DEMOSCREEN:
|
||||
R_UpdateAnimations(I_MSTime());
|
||||
R_UpdateAnimations(I_FPSTime());
|
||||
screen->SetBlendingRect(0,0,0,0);
|
||||
hw2d = screen->Begin2D(false);
|
||||
D_PageDrawer ();
|
||||
|
|
|
@ -1081,7 +1081,7 @@ void R_SetupFrame (AActor *actor)
|
|||
iview->otic = nowtic;
|
||||
}
|
||||
|
||||
R_UpdateAnimations (I_MSTime());
|
||||
R_UpdateAnimations (I_FPSTime());
|
||||
r_TicFrac = I_GetTimeFrac (&r_FrameTime);
|
||||
if (cl_capfps || r_NoInterpolate)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue