[saco] Match CPlayerPed::ForceTargetRotation; retail stores fRotation2 before fRotation1

This commit is contained in:
ricardoofnl committed 2026-09-03 01:33:32 +07:00
1 parent 28ca7ea41c
commit 52e959142d
1 file changed
+1 -1
+1 -1
View File
@@ -586,8 +586,8 @@ void CPlayerPed::ForceTargetRotation(float fRotation)
if(!m_pPed) return;
if(!GamePool_Ped_GetAt(m_dwGTAId)) return;
m_pPed->fRotation1 = DegToRad(fRotation);
m_pPed->fRotation2 = DegToRad(fRotation);
m_pPed->fRotation1 = DegToRad(fRotation);
ScriptCommand(&set_actor_z_angle,m_dwGTAId,fRotation);
}