summaryrefslogtreecommitdiffstats
path: root/src/objects/CutsceneObject.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-13 13:06:38 +0100
committeraap <aap@papnet.eu>2021-01-13 13:06:38 +0100
commit2804ad2363626958be7513014b9a302ea72768b6 (patch)
tree7b8dcfe41c57392b982df3e41f0762246dfd7646 /src/objects/CutsceneObject.cpp
parentrename m_vehEnterType -> m_vehDoor (diff)
downloadre3-2804ad2363626958be7513014b9a302ea72768b6.tar
re3-2804ad2363626958be7513014b9a302ea72768b6.tar.gz
re3-2804ad2363626958be7513014b9a302ea72768b6.tar.bz2
re3-2804ad2363626958be7513014b9a302ea72768b6.tar.lz
re3-2804ad2363626958be7513014b9a302ea72768b6.tar.xz
re3-2804ad2363626958be7513014b9a302ea72768b6.tar.zst
re3-2804ad2363626958be7513014b9a302ea72768b6.zip
Diffstat (limited to '')
-rw-r--r--src/objects/CutsceneObject.cpp2
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;
}