summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/Timer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Timer.cpp b/src/core/Timer.cpp
index ac897da6..b0947d65 100644
--- a/src/core/Timer.cpp
+++ b/src/core/Timer.cpp
@@ -188,6 +188,10 @@ void CTimer::Update(void)
#endif
ms_fTimeStep = frameTime / 1000.0f * 50.0f;
}
+#ifdef FIX_BUGS
+ frameTimeFraction -= uint32(frameTimeFraction);
+ frameTimeFractionScaled -= uint32(frameTimeFractionScaled);
+#endif
}
if ( ms_fTimeStep < 0.01f && !GetIsPaused() && !CSpecialFX::bSnapShotActive)