mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 13:14:51 +00:00
Sync shotgun.cpp with master (#313)
This commit is contained in:
parent
fdd08e93f7
commit
543e391223
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user