Browse Source

Sync shotgun.cpp with master (#313)

opfor
Roman Chistokhodov 2 years ago committed by GitHub
parent
commit
543e391223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dlls/shotgun.cpp

2
dlls/shotgun.cpp

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

Loading…
Cancel
Save