mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-25 03:40:26 +01:00
Fix sniper FOV bug
This commit is contained in:
parent
01c14d2ac9
commit
3ef902a04a
|
@ -2397,7 +2397,7 @@ functions:
|
|||
aFOV = 90.0f;
|
||||
}
|
||||
// if sniper active
|
||||
if (((CPlayerWeapons&)*m_penWeapons).m_iCurrentWeapon==WEAPON_SNIPER)
|
||||
if (((CPlayerWeapons&)*m_penWeapons).m_iCurrentWeapon==WEAPON_SNIPER && ((CPlayerWeapons&)*m_penWeapons).m_bSniping)
|
||||
{
|
||||
aFOV = Lerp(((CPlayerWeapons&)*m_penWeapons).m_fSniperFOVlast,
|
||||
((CPlayerWeapons&)*m_penWeapons).m_fSniperFOV,
|
||||
|
|
Loading…
Reference in New Issue
Block a user