mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 09:48:13 +08:00
[saco] Match CPlayerPed::ForceTargetRotation; retail stores fRotation2 before fRotation1
This commit is contained in:
1 parent
28ca7ea41c
commit
52e959142d
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user