mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 00:01:49 +01:00
Fix aiming with flamethrower with PC controls
This commit is contained in:
parent
1d1f10d68c
commit
3adf37a3a9
@ -320,6 +320,14 @@ CPed::SetAttack(CEntity *victim)
|
||||
((CPlayerPed*)this)->m_fFPSMoveHeading = TheCamera.Find3rdPersonQuickAimPitch();
|
||||
}
|
||||
}
|
||||
#ifdef FIX_BUGS
|
||||
// fix aiming for flamethrower while using PC controls
|
||||
else if (GetWeapon()->m_eWeaponType == WEAPONTYPE_FLAMETHROWER && TheCamera.Cams[0].Using3rdPersonMouseCam() && this == FindPlayerPed())
|
||||
{
|
||||
SetAimFlag(m_fRotationCur);
|
||||
((CPlayerPed*)this)->m_fFPSMoveHeading = TheCamera.Find3rdPersonQuickAimPitch();
|
||||
}
|
||||
#endif
|
||||
if (m_nPedState == PED_ATTACK) {
|
||||
bIsAttacking = true;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user