diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-14 16:15:26 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-14 16:15:26 +0200 |
commit | ede6b7db6a4fd1b5c09213302208cb343307ccef (patch) | |
tree | 32142b4ceac39784b71afac87eac5fb7d6c344c0 /src | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-ede6b7db6a4fd1b5c09213302208cb343307ccef.tar re3-ede6b7db6a4fd1b5c09213302208cb343307ccef.tar.gz re3-ede6b7db6a4fd1b5c09213302208cb343307ccef.tar.bz2 re3-ede6b7db6a4fd1b5c09213302208cb343307ccef.tar.lz re3-ede6b7db6a4fd1b5c09213302208cb343307ccef.tar.xz re3-ede6b7db6a4fd1b5c09213302208cb343307ccef.tar.zst re3-ede6b7db6a4fd1b5c09213302208cb343307ccef.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/peds/PedIK.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/PedIK.cpp b/src/peds/PedIK.cpp index f74d82bf..9dae5ff1 100644 --- a/src/peds/PedIK.cpp +++ b/src/peds/PedIK.cpp @@ -64,8 +64,8 @@ CPedIK::RotateTorso(AnimBlendFrameData *node, LimbOrientation *limb, bool change // We can't get the parent matrix of an hanim frame but // this function is always called with PED_MID, so we know the parent frame. // Trouble is that PED_MID is "Smid" on PS2/PC but BONE_torso on mobile/xbox... - // Assuming BONE_torso, the parent is BONE_mid, so let's use that: - RwMatrix *mat = GetBoneMatrix(m_ped, BONE_mid); + // so this doesn't exactly do what we'd like anyway + RwMatrix* mat = GetComponentMatrix(m_ped, PED_MID); RwV3d vec1, vec2; vec1.x = mat->right.z; |