summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-25 01:22:07 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-25 01:22:07 +0200
commit4660491243048d22fc22f01becc08ffcd327a6cc (patch)
treea02c8d4ea349a17cdb3d0cbccdecdd214005a018 /src/core
parentFrontend fix (diff)
downloadre3-4660491243048d22fc22f01becc08ffcd327a6cc.tar
re3-4660491243048d22fc22f01becc08ffcd327a6cc.tar.gz
re3-4660491243048d22fc22f01becc08ffcd327a6cc.tar.bz2
re3-4660491243048d22fc22f01becc08ffcd327a6cc.tar.lz
re3-4660491243048d22fc22f01becc08ffcd327a6cc.tar.xz
re3-4660491243048d22fc22f01becc08ffcd327a6cc.tar.zst
re3-4660491243048d22fc22f01becc08ffcd327a6cc.zip
Diffstat (limited to 'src/core')
-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)