- removed all remaining references to level and TThinkerIterator from p_enemy.cpp.

This commit is contained in:
Christoph Oelckers 2019-01-27 14:49:51 +01:00
commit 2ed2202caa
5 changed files with 25 additions and 29 deletions

View file

@ -1510,11 +1510,11 @@ FUNC(LS_Thing_Destroy)
if (arg0 == 0 && arg2 == 0)
{
P_Massacre ();
Level->Massacre ();
}
else if (arg0 == 0)
{
TThinkerIterator<AActor> iterator;
auto iterator = Level->GetThinkerIterator<AActor>();
actor = iterator.Next ();
while (actor)