diff options
author | aap <aap@papnet.eu> | 2021-01-13 13:06:38 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-13 13:06:38 +0100 |
commit | 2804ad2363626958be7513014b9a302ea72768b6 (patch) | |
tree | 7b8dcfe41c57392b982df3e41f0762246dfd7646 /src/peds/Ped.cpp | |
parent | rename m_vehEnterType -> m_vehDoor (diff) | |
download | re3-2804ad2363626958be7513014b9a302ea72768b6.tar re3-2804ad2363626958be7513014b9a302ea72768b6.tar.gz re3-2804ad2363626958be7513014b9a302ea72768b6.tar.bz2 re3-2804ad2363626958be7513014b9a302ea72768b6.tar.lz re3-2804ad2363626958be7513014b9a302ea72768b6.tar.xz re3-2804ad2363626958be7513014b9a302ea72768b6.tar.zst re3-2804ad2363626958be7513014b9a302ea72768b6.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 572395d8..a4490c2f 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -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()); |