diff options
author | aap <aap@papnet.eu> | 2021-01-13 13:06:38 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-13 13:06:38 +0100 |
commit | 2804ad2363626958be7513014b9a302ea72768b6 (patch) | |
tree | 7b8dcfe41c57392b982df3e41f0762246dfd7646 /src/objects/CutsceneObject.cpp | |
parent | e3a261d29cbb10abc0776ca697512349845a105c (diff) |
anim velocity union
Diffstat (limited to 'src/objects/CutsceneObject.cpp')
-rw-r--r-- | src/objects/CutsceneObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objects/CutsceneObject.cpp b/src/objects/CutsceneObject.cpp index 8d1be357..e36d8e25 100644 --- a/src/objects/CutsceneObject.cpp +++ b/src/objects/CutsceneObject.cpp @@ -46,7 +46,7 @@ CCutsceneObject::SetModelIndex(uint32 id) CEntity::SetModelIndex(id); assert(RwObjectGetType(m_rwObject) == rpCLUMP); RpAnimBlendClumpInit((RpClump*)m_rwObject); - (*RPANIMBLENDCLUMPDATA(m_rwObject))->velocity = &m_vecMoveSpeed; + (*RPANIMBLENDCLUMPDATA(m_rwObject))->velocity3d = &m_vecMoveSpeed; (*RPANIMBLENDCLUMPDATA(m_rwObject))->frames[0].flag |= AnimBlendFrameData::VELOCITY_EXTRACTION_3D; } |