diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-02 17:02:45 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-02 17:02:45 +0200 |
commit | 7d067684ff4c69ecaf911ca23b478087f5655437 (patch) | |
tree | a47fbbaf7937616d80e799f3a9157d933c1f69c0 /src/animation/CutsceneMgr.cpp | |
parent | changed saving compatibility (diff) | |
parent | A bit more audio cleanup (diff) | |
download | re3-7d067684ff4c69ecaf911ca23b478087f5655437.tar re3-7d067684ff4c69ecaf911ca23b478087f5655437.tar.gz re3-7d067684ff4c69ecaf911ca23b478087f5655437.tar.bz2 re3-7d067684ff4c69ecaf911ca23b478087f5655437.tar.lz re3-7d067684ff4c69ecaf911ca23b478087f5655437.tar.xz re3-7d067684ff4c69ecaf911ca23b478087f5655437.tar.zst re3-7d067684ff4c69ecaf911ca23b478087f5655437.zip |
Diffstat (limited to 'src/animation/CutsceneMgr.cpp')
-rw-r--r-- | src/animation/CutsceneMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animation/CutsceneMgr.cpp b/src/animation/CutsceneMgr.cpp index 334fe471..0db54c4b 100644 --- a/src/animation/CutsceneMgr.cpp +++ b/src/animation/CutsceneMgr.cpp @@ -267,11 +267,11 @@ CCutsceneMgr::SetupCutsceneToStart(void) assert(RwObjectGetType(ms_pCutsceneObjects[i]->m_rwObject) == rpCLUMP); if (CAnimBlendAssociation *pAnimBlendAssoc = RpAnimBlendClumpGetFirstAssociation((RpClump*)ms_pCutsceneObjects[i]->m_rwObject)) { assert(pAnimBlendAssoc->hierarchy->sequences[0].HasTranslation()); - ms_pCutsceneObjects[i]->GetPosition() = ms_cutsceneOffset + ((KeyFrameTrans*)pAnimBlendAssoc->hierarchy->sequences[0].GetKeyFrame(0))->translation; + ms_pCutsceneObjects[i]->SetPosition(ms_cutsceneOffset + ((KeyFrameTrans*)pAnimBlendAssoc->hierarchy->sequences[0].GetKeyFrame(0))->translation); CWorld::Add(ms_pCutsceneObjects[i]); pAnimBlendAssoc->SetRun(); } else { - ms_pCutsceneObjects[i]->GetPosition() = ms_cutsceneOffset; + ms_pCutsceneObjects[i]->SetPosition(ms_cutsceneOffset); } } |