Fixed autoaiming camera

This commit is contained in:
Sergeanur 2020-01-29 01:11:44 +02:00
parent fdbcd1fb68
commit 1561ab6440

View File

@ -1037,7 +1037,7 @@ CPlayerPed::ProcessPlayerWeapon(CPad *padUsed)
FindNextWeaponLockOnTarget(m_pPointGunAt, false);
}
TheCamera.SetNewPlayerWeaponMode(CCam::MODE_SYPHON, 0, 0);
TheCamera.UpdateAimingCoors(GetPosition());
TheCamera.UpdateAimingCoors(m_pPointGunAt->GetPosition());
} else if (weaponInfo->m_bCanAim && !CCamera::m_bUseMouse3rdPerson) {
if (padUsed->TargetJustDown())
FindWeaponLockOnTarget();