//----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void C_BaseCombatWeapon::SetDormant( bool bDormant ) { // If I'm going from active to dormant and I'm carried by another player, holster me. if ( !IsDormant() && bDormant && !IsCarriedByLocalPlayer() ) { Holster( NULL ); } BaseClass::SetDormant( bDormant ); }
//----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- C_WeaponCombat_ChargeablePlasma::~C_WeaponCombat_ChargeablePlasma( void ) { Holster( NULL ); }