Skip to content

Commit

Permalink
neck
Browse files Browse the repository at this point in the history
  • Loading branch information
headshot2017 committed Feb 9, 2024
1 parent f9a4a05 commit b679a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mario.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ void marioTick(float dt)
{
const auto hier = GetAnimHierarchyFromSkinClump(lookAt->m_pEntity->m_pRwClump);
if (hier)
headPosRw = *RwMatrixGetPos(&RpHAnimHierarchyGetMatrixArray(hier)[RpHAnimIDGetIndex(hier, BONE_HEAD)]);
headPosRw = *RwMatrixGetPos(&RpHAnimHierarchyGetMatrixArray(hier)[RpHAnimIDGetIndex(hier, BONE_NECK)]);
else
((CPed*)lookAt->m_pEntity)->GetBonePosition(headPosRw, BONE_NECK, false);
}
Expand Down

0 comments on commit b679a82

Please sign in to comment.