C_GasolineBlob::~C_GasolineBlob() { g_GasolineBlobs.FindAndRemove( this ); StopSound(); // If a bunch of nearby blobs weren't playing a sound because we were, have them start their sound now. FOR_EACH_LL( g_GasolineBlobs, i ) { C_GasolineBlob *pBlob = g_GasolineBlobs[i]; if ( pBlob->IsSoundRelatedTo( this ) ) pBlob->CheckStartSound(); }
CObjMCVSelectionPanel::~CObjMCVSelectionPanel() { g_MCVSelectionPanels.FindAndRemove( this ); }