diff options
author | aap <aap@papnet.eu> | 2021-01-13 13:06:31 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-13 13:06:31 +0100 |
commit | 083aa700e99c922a741fda947a9a1502fb1242cc (patch) | |
tree | 03fde467d560131a220bbe562af6c66c3b34835a /src/peds/Ped.cpp | |
parent | rename m_vehEnterType -> m_vehDoor (diff) | |
download | re3-083aa700e99c922a741fda947a9a1502fb1242cc.tar re3-083aa700e99c922a741fda947a9a1502fb1242cc.tar.gz re3-083aa700e99c922a741fda947a9a1502fb1242cc.tar.bz2 re3-083aa700e99c922a741fda947a9a1502fb1242cc.tar.lz re3-083aa700e99c922a741fda947a9a1502fb1242cc.tar.xz re3-083aa700e99c922a741fda947a9a1502fb1242cc.tar.zst re3-083aa700e99c922a741fda947a9a1502fb1242cc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index c520c4ee..0797d196 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -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) |