summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-29 00:11:44 +0100
committerSergeanur <s.anureev@yandex.ua>2020-01-29 00:11:44 +0100
commit1561ab64402d4401668143ef870ca9813d144853 (patch)
treebf2a63db42f91a4271bdc9c3a3cc32abbc85a7e1 /src
parentCoronas is done (diff)
downloadre3-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
Diffstat (limited to 'src')
-rw-r--r--src/peds/PlayerPed.cpp2
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();