diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-10-23 07:38:36 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-10-23 07:38:36 +0200 |
commit | 281e45ce0180b5740f56bf3e12adb38e6b5987fa (patch) | |
tree | f4110ee28bf23e2ce816025ee79eb876a6d5b9a3 /src/core/Timer.cpp | |
parent | Timer, main (diff) | |
download | re3-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 '')
-rw-r--r-- | src/core/Timer.cpp | 2 |
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 |