Sync shotgun.cpp with master (#313)

This commit is contained in:
Roman Chistokhodov 2022-08-08 02:29:33 +03:00 committed by GitHub
parent fdd08e93f7
commit 543e391223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -177,7 +177,6 @@ void CShotgun::PrimaryAttack()
m_flNextPrimaryAttack = GetNextAttackDelay( 0.75f );
m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.75f;
m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 0.75;
if( m_iClip != 0 )
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 5.0f;
else
@ -249,7 +248,6 @@ void CShotgun::SecondaryAttack( void )
m_flNextPrimaryAttack = GetNextAttackDelay( 1.5f );
m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 1.5f;
m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 1.5;
if( m_iClip != 0 )
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 6.0f;
else