mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
Fix compilation
This commit is contained in:
parent
24875f34d0
commit
ede6b7db6a
@ -64,8 +64,8 @@ CPedIK::RotateTorso(AnimBlendFrameData *node, LimbOrientation *limb, bool change
|
|||||||
// We can't get the parent matrix of an hanim frame but
|
// 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.
|
// 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...
|
// 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:
|
// so this doesn't exactly do what we'd like anyway
|
||||||
RwMatrix *mat = GetBoneMatrix(m_ped, BONE_mid);
|
RwMatrix* mat = GetComponentMatrix(m_ped, PED_MID);
|
||||||
|
|
||||||
RwV3d vec1, vec2;
|
RwV3d vec1, vec2;
|
||||||
vec1.x = mat->right.z;
|
vec1.x = mat->right.z;
|
||||||
|
Loading…
Reference in New Issue
Block a user