mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 06:45:42 +00:00
fixed shooting target
This commit is contained in:
parent
241352e312
commit
8289b42c9e
1 changed files with 2 additions and 2 deletions
|
@ -600,8 +600,8 @@ CWeapon::FireInstantHit(CEntity *shooter, CVector *fireSource)
|
|||
rotOffset.Normalise();
|
||||
|
||||
target = *fireSource;
|
||||
target.x = rotOffset.x * info->m_fRange;
|
||||
target.y = rotOffset.y * info->m_fRange;
|
||||
target.x += rotOffset.x * info->m_fRange;
|
||||
target.y += rotOffset.y * info->m_fRange;
|
||||
|
||||
if ( shooter->IsPed() )
|
||||
DoDoomAiming(shooter, fireSource, &target);
|
||||
|
|
Loading…
Reference in a new issue