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