diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-01-29 01:11:44 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-01-29 01:11:44 +0200 |
commit | 1561ab64402d4401668143ef870ca9813d144853 (patch) | |
tree | bf2a63db42f91a4271bdc9c3a3cc32abbc85a7e1 /src/peds/PlayerPed.cpp | |
parent | fdbcd1fb6850c4c8366ec8a0be3088f94325c645 (diff) |
Fixed autoaiming camera
Diffstat (limited to 'src/peds/PlayerPed.cpp')
-rw-r--r-- | src/peds/PlayerPed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp index ff48ca4d..b5256cff 100644 --- a/src/peds/PlayerPed.cpp +++ b/src/peds/PlayerPed.cpp @@ -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();
|