SGameMtlPair::~SGameMtlPair() { // destroy all media DestroySounds (BreakingSounds); DestroySounds (StepSounds); DestroySounds (CollideSounds); DestroyPSs (CollideParticles); // DestroyMarks (CollideMarks); //RenderFactory->DestroyGameMtlPair(m_pCollideMarks); //m_pCollideMarks-> }
void CTFFlameThrower::WeaponReset( void ) { BaseClass::WeaponReset(); m_iWeaponState = FT_STATE_IDLE; m_bCritFire = false; m_bHitTarget = false; m_flStartFiringTime = 0; m_flAmmoUseRemainder = 0; #ifdef GAME_DLL m_flStopHitSoundTime = 0.0f; #endif DestroySounds(); }
//----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- CTFFlameThrower::~CTFFlameThrower() { DestroySounds(); }