//----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CEnvBeam::Activate( void ) { // Get a handle to my filter entity if there is one if (m_iFilterName != NULL_STRING) { m_hFilter = dynamic_cast<CBaseFilter *>(gEntList.FindEntityByName( NULL, m_iFilterName )); } BaseClass::Activate(); if ( ServerSide() ) BeamUpdateVars(); }
void CLightning::Activate( void ) { if ( ServerSide() ) BeamUpdateVars(); }