summaryrefslogtreecommitdiff
path: root/src/animation/CutsceneMgr.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-11 13:21:21 +0300
committerSergeanur <s.anureev@yandex.ua>2020-04-11 13:21:21 +0300
commit0ddc04743cf119751e61ad7bec73b721116b3c03 (patch)
tree75bf39c19b98c2320aa14388bc81af2b905b94b0 /src/animation/CutsceneMgr.cpp
parentf1413c477692b935b14e8ef69ea8e4aeb3dd2e7f (diff)
Fix cutscene camera latency
Diffstat (limited to 'src/animation/CutsceneMgr.cpp')
-rw-r--r--src/animation/CutsceneMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/CutsceneMgr.cpp b/src/animation/CutsceneMgr.cpp
index 0e35599b..6f8e9790 100644
--- a/src/animation/CutsceneMgr.cpp
+++ b/src/animation/CutsceneMgr.cpp
@@ -410,7 +410,7 @@ CCutsceneMgr::Update(void)
if (!ms_running) return;
- ms_cutsceneTimer += CTimer::GetTimeStepNonClipped() * 0.02f;
+ ms_cutsceneTimer += CTimer::GetTimeStepNonClippedInSeconds();
if (CGeneral::faststricmp(ms_cutsceneName, "end") && TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_FLYBY && ms_cutsceneLoadStatus == CUTSCENE_LOADING_0) {
if (CPad::GetPad(0)->GetCrossJustDown()
|| (CGame::playingIntro && CPad::GetPad(0)->GetStartJustDown())