From 7f96531dc05c0b968021b297c07c8606d4d01560 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 28 Mar 2010 04:04:44 +0000 Subject: [PATCH] - Use I_FPSTime() instead of I_MSTime() to drive R_UpdateAnimations(). SVN r2253 (trunk) --- src/d_main.cpp | 8 ++++---- src/r_main.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index c2dbf761b..4a3d631ca 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -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 (); diff --git a/src/r_main.cpp b/src/r_main.cpp index 789388842..68a017986 100644 --- a/src/r_main.cpp +++ b/src/r_main.cpp @@ -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) {