mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 06:18:59 +00:00
Fix aiming with flamethrower with PC controls
This commit is contained in:
parent
1d1f10d68c
commit
3adf37a3a9
1 changed files with 8 additions and 0 deletions
|
@ -320,6 +320,14 @@ CPed::SetAttack(CEntity *victim)
|
||||||
((CPlayerPed*)this)->m_fFPSMoveHeading = TheCamera.Find3rdPersonQuickAimPitch();
|
((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) {
|
if (m_nPedState == PED_ATTACK) {
|
||||||
bIsAttacking = true;
|
bIsAttacking = true;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue