void P_ActivateInStasis (int tag) { DPlat *scan; TThinkerIterator<DPlat> iterator; while ( (scan = iterator.Next ()) ) { if (scan->m_Tag == tag && scan->m_Status == DPlat::in_stasis) scan->Reactivate (); } }
void FLevelLocals::ActivateInStasisPlat (int tag) { DPlat *scan; auto iterator = GetThinkerIterator<DPlat>(); while ( (scan = iterator.Next ()) ) { if (scan->m_Tag == tag && scan->m_Status == DPlat::in_stasis) scan->Reactivate (); } }