Reset fov on crossbow holster (#394)

This commit is contained in:
Roman Chistokhodov 2023-09-30 21:27:53 +03:00 committed by GitHub
parent 04e56448f2
commit 17b34aa42b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,7 +324,7 @@ void CCrossbow::Holster( int skiplocal /* = 0 */ )
{
m_fInReload = FALSE;// cancel any reload in progress.
if( m_fInZoom )
if( m_pPlayer->pev->fov != 0 )
{
SecondaryAttack();
}