mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-11 13:40:34 +00:00
anim velocity union
This commit is contained in:
parent
7c3e43aa2e
commit
083aa700e9
5 changed files with 21 additions and 20 deletions
|
@ -330,8 +330,7 @@ CPed::SetModelIndex(uint32 mi)
|
|||
m_animGroup = (AssocGroupId) modelInfo->m_animGroup;
|
||||
CAnimManager::AddAnimation(GetClump(), m_animGroup, ANIM_IDLE_STANCE);
|
||||
|
||||
// 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;
|
||||
|
||||
#ifdef PED_SKIN
|
||||
if(modelInfo->GetHitColModel() == nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue