mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 08:11:49 +01: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();
|
||||
|
||||
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 New Issue
Block a user