summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-13 13:06:38 +0100
committeraap <aap@papnet.eu>2021-01-13 13:06:38 +0100
commit2804ad2363626958be7513014b9a302ea72768b6 (patch)
tree7b8dcfe41c57392b982df3e41f0762246dfd7646 /src/peds
parentrename m_vehEnterType -> m_vehDoor (diff)
downloadre3-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.cpp3
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());