- removed a few direct uses of TThinkerIterator.

This commit is contained in:
Christoph Oelckers 2019-01-27 16:15:32 +01:00
commit ae544fa21f
3 changed files with 3 additions and 3 deletions

View file

@ -5136,7 +5136,7 @@ AActor *FLevelLocals::SpawnPlayer (FPlayerStart *mthing, int playernum, int flag
// monsters who last targeted this player will wake up immediately
// after the player has respawned.
AActor *th;
TThinkerIterator<AActor> it;
auto it = GetThinkerIterator<AActor>();
while ((th = it.Next()))
{
if (th->LastHeard == oldactor) th->LastHeard = nullptr;