|
|
@ -143,6 +143,8 @@ void CMP5::Holster( int skiplocal /*= 0*/ ) |
|
|
|
|
|
|
|
|
|
|
|
void CMP5::PrimaryAttack() |
|
|
|
void CMP5::PrimaryAttack() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
UpdateSpot(); |
|
|
|
|
|
|
|
|
|
|
|
// don't fire underwater
|
|
|
|
// don't fire underwater
|
|
|
|
if( m_pPlayer->pev->waterlevel == 3 ) |
|
|
|
if( m_pPlayer->pev->waterlevel == 3 ) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -281,7 +283,7 @@ void CMP5::Reload( void ) |
|
|
|
#ifndef CLIENT_DLL |
|
|
|
#ifndef CLIENT_DLL |
|
|
|
if( m_pSpot && m_fSpotActive ) |
|
|
|
if( m_pSpot && m_fSpotActive ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
m_pSpot->Suspend( 1.5 ); |
|
|
|
m_pSpot->Suspend( 1.6 ); |
|
|
|
m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 1.5; |
|
|
|
m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 1.5; |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|