1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 16:30:01 +00:00

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); FindNextWeaponLockOnTarget(m_pPointGunAt, false);
} }
TheCamera.SetNewPlayerWeaponMode(CCam::MODE_SYPHON, 0, 0); TheCamera.SetNewPlayerWeaponMode(CCam::MODE_SYPHON, 0, 0);
TheCamera.UpdateAimingCoors(GetPosition()); TheCamera.UpdateAimingCoors(m_pPointGunAt->GetPosition());
} else if (weaponInfo->m_bCanAim && !CCamera::m_bUseMouse3rdPerson) { } else if (weaponInfo->m_bCanAim && !CCamera::m_bUseMouse3rdPerson) {
if (padUsed->TargetJustDown()) if (padUsed->TargetJustDown())
FindWeaponLockOnTarget(); FindWeaponLockOnTarget();