diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-01-29 00:11:44 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-01-29 00:11:44 +0100 |
commit | 1561ab64402d4401668143ef870ca9813d144853 (patch) | |
tree | bf2a63db42f91a4271bdc9c3a3cc32abbc85a7e1 | |
parent | Coronas is done (diff) | |
download | re3-1561ab64402d4401668143ef870ca9813d144853.tar re3-1561ab64402d4401668143ef870ca9813d144853.tar.gz re3-1561ab64402d4401668143ef870ca9813d144853.tar.bz2 re3-1561ab64402d4401668143ef870ca9813d144853.tar.lz re3-1561ab64402d4401668143ef870ca9813d144853.tar.xz re3-1561ab64402d4401668143ef870ca9813d144853.tar.zst re3-1561ab64402d4401668143ef870ca9813d144853.zip |
-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();
|