mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2025-03-30 18:50:06 +02:00
Fix sniper FOV bug
This commit is contained in:
parent
01c14d2ac9
commit
3ef902a04a
@ -2397,7 +2397,7 @@ functions:
|
|||||||
aFOV = 90.0f;
|
aFOV = 90.0f;
|
||||||
}
|
}
|
||||||
// if sniper active
|
// 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,
|
aFOV = Lerp(((CPlayerWeapons&)*m_penWeapons).m_fSniperFOVlast,
|
||||||
((CPlayerWeapons&)*m_penWeapons).m_fSniperFOV,
|
((CPlayerWeapons&)*m_penWeapons).m_fSniperFOV,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user