mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-18 11:59:23 +00:00
anim velocity union
This commit is contained in:
parent
e3a261d29c
commit
2804ad2363
6 changed files with 29 additions and 28 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue