Exemplo n.º 1
0
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 ();
	}
}
Exemplo n.º 2
0
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 ();
	}
}