//----------------------------------------------------------------------------- // Purpose: // Input : &vecVelocity - //----------------------------------------------------------------------------- void CWeaponStunStick::Drop( const Vector &vecVelocity ) { SetStunState( false ); BaseClass::Drop( vecVelocity ); }
//----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- bool CWeaponStunStick::Holster( CBaseCombatWeapon *pSwitchingTo ) { if ( BaseClass::Holster( pSwitchingTo ) == false ) return false; SetStunState( false ); return true; }
//----------------------------------------------------------------------------- // Purpose: // Input : &vecVelocity - //----------------------------------------------------------------------------- void CWeaponStunStick::Drop( const Vector &vecVelocity ) { SetStunState( false ); #ifndef CLIENT_DLL UTIL_Remove( this ); #endif }
//----------------------------------------------------------------------------- // Purpose: // Output : Returns true on success, false on failure. //----------------------------------------------------------------------------- bool CWeaponStunStick::Deploy( void ) { SetStunState( true ); #ifdef CLIENT_DLL //Tony; we need to just do this SetupAttachmentPoints(); #endif return BaseClass::Deploy(); }
//----------------------------------------------------------------------------- // Purpose: // Input : &vecVelocity - //----------------------------------------------------------------------------- void CWeaponStunStick::Drop( const Vector &vecVelocity ) { SetStunState( false ); #ifdef SecobMod__Enable_Fixed_Multiplayer_AI BaseClass::Drop( vecVelocity ); #else #ifndef CLIENT_DLL UTIL_Remove( this ); #endif #endif //SecobMod__Enable_Fixed_Multiplayer_AI }
//----------------------------------------------------------------------------- // Purpose: // Output : Returns true on success, false on failure. //----------------------------------------------------------------------------- bool CWeaponStunStick::Deploy( void ) { SetStunState( true ); return BaseClass::Deploy(); }