From 3ef902a04a59338c6f8a5476a781521956a227f5 Mon Sep 17 00:00:00 2001 From: antonino Date: Fri, 30 Dec 2022 14:39:23 +0100 Subject: [PATCH] Fix sniper FOV bug --- Sources/EntitiesMP/Player.es | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/EntitiesMP/Player.es b/Sources/EntitiesMP/Player.es index 505a270..f2ea9fd 100755 --- a/Sources/EntitiesMP/Player.es +++ b/Sources/EntitiesMP/Player.es @@ -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,