summaryrefslogtreecommitdiffstats
path: root/src/core/Timer.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-23 07:38:36 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-23 07:38:36 +0200
commit281e45ce0180b5740f56bf3e12adb38e6b5987fa (patch)
treef4110ee28bf23e2ce816025ee79eb876a6d5b9a3 /src/core/Timer.cpp
parentTimer, main (diff)
downloadre3-281e45ce0180b5740f56bf3e12adb38e6b5987fa.tar
re3-281e45ce0180b5740f56bf3e12adb38e6b5987fa.tar.gz
re3-281e45ce0180b5740f56bf3e12adb38e6b5987fa.tar.bz2
re3-281e45ce0180b5740f56bf3e12adb38e6b5987fa.tar.lz
re3-281e45ce0180b5740f56bf3e12adb38e6b5987fa.tar.xz
re3-281e45ce0180b5740f56bf3e12adb38e6b5987fa.tar.zst
re3-281e45ce0180b5740f56bf3e12adb38e6b5987fa.zip
Diffstat (limited to 'src/core/Timer.cpp')
-rw-r--r--src/core/Timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Timer.cpp b/src/core/Timer.cpp
index eb8d9546..bdef6187 100644
--- a/src/core/Timer.cpp
+++ b/src/core/Timer.cpp
@@ -98,7 +98,7 @@ void CTimer::Update(void)
_oldPerfCounter = pc;
- float updInCyclesScaled = GetIsPaused() ? updInCycles : updInCyclesScaled * ms_fTimeScale;
+ float updInCyclesScaled = GetIsPaused() ? updInCycles : updInCycles * ms_fTimeScale;
// We need that real frame time to fix transparent menu bug.
#ifndef FIX_HIGH_FPS_BUGS_ON_FRONTEND