|
|
|
@ -126,14 +126,14 @@ void CMP5::PrimaryAttack()
@@ -126,14 +126,14 @@ void CMP5::PrimaryAttack()
|
|
|
|
|
if( m_pPlayer->pev->waterlevel == 3 ) |
|
|
|
|
{ |
|
|
|
|
PlayEmptySound(); |
|
|
|
|
m_flNextPrimaryAttack = 0.15; |
|
|
|
|
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.15; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if( m_iClip <= 0 ) |
|
|
|
|
{ |
|
|
|
|
PlayEmptySound(); |
|
|
|
|
m_flNextPrimaryAttack = 0.15; |
|
|
|
|
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.15; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -191,7 +191,7 @@ void CMP5::SecondaryAttack( void )
@@ -191,7 +191,7 @@ void CMP5::SecondaryAttack( void )
|
|
|
|
|
if( m_pPlayer->pev->waterlevel == 3 ) |
|
|
|
|
{ |
|
|
|
|
PlayEmptySound( ); |
|
|
|
|
m_flNextPrimaryAttack = 0.15; |
|
|
|
|
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.15; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|