mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 04:10:00 +00:00
fixed shooting target
This commit is contained in:
parent
241352e312
commit
8289b42c9e
|
@ -600,8 +600,8 @@ CWeapon::FireInstantHit(CEntity *shooter, CVector *fireSource)
|
||||||
rotOffset.Normalise();
|
rotOffset.Normalise();
|
||||||
|
|
||||||
target = *fireSource;
|
target = *fireSource;
|
||||||
target.x = rotOffset.x * info->m_fRange;
|
target.x += rotOffset.x * info->m_fRange;
|
||||||
target.y = rotOffset.y * info->m_fRange;
|
target.y += rotOffset.y * info->m_fRange;
|
||||||
|
|
||||||
if ( shooter->IsPed() )
|
if ( shooter->IsPed() )
|
||||||
DoDoomAiming(shooter, fireSource, &target);
|
DoDoomAiming(shooter, fireSource, &target);
|
||||||
|
|
Loading…
Reference in a new issue