mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 16:04:07 +00:00
anim velocity union
This commit is contained in:
parent
e3a261d29c
commit
2804ad2363
6 changed files with 29 additions and 28 deletions
|
@ -434,8 +434,7 @@ CPed::SetModelIndex(uint32 mi)
|
|||
if (!CanUseTorsoWhenLooking())
|
||||
m_pedIK.m_flags |= CPedIK::LOOKAROUND_HEAD_ONLY;
|
||||
|
||||
// This is a mistake by R*, velocity is CVector, whereas m_vecAnimMoveDelta is CVector2D.
|
||||
(*RPANIMBLENDCLUMPDATA(m_rwObject))->velocity = (CVector*) &m_vecAnimMoveDelta;
|
||||
(*RPANIMBLENDCLUMPDATA(m_rwObject))->velocity2d = &m_vecAnimMoveDelta;
|
||||
|
||||
if(modelInfo->GetHitColModel() == nil)
|
||||
modelInfo->CreateHitColModelSkinned(GetClump());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue