summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-13 13:56:25 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-13 13:56:25 +0100
commitff057838ec8f2f03b6990a87ca30e85ca45daafb (patch)
tree38af6623091aed50390109799d7f8b0ea28d2224 /src/objects
parentMerge remote-tracking branch 'origin/miami' into lcs (diff)
parentFix backface culling of cutscene objects (diff)
downloadre3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.gz
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.bz2
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.lz
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.xz
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.zst
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.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 01fb038f..803fcf0f 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;
}