Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
7ddfc40675
7 files changed
+50
-36
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user