Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Nikolay Korolev committed 2020-04-25 16:48:03 +03:00
commit 7ddfc40675
7 files changed
+50 -36

No files matched your search

+2 -2
View File
@@ -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);