- removed a few direct uses of TThinkerIterator.
This commit is contained in:
parent
c8cd11422a
commit
ae544fa21f
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue