mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-06 08:49:58 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
7ddfc40675
7 changed files with 50 additions and 36 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…
Add table
Add a link
Reference in a new issue