diff --git a/src/p_enemy.cpp b/src/p_enemy.cpp index 21fd6b1c0..6f8d05286 100644 --- a/src/p_enemy.cpp +++ b/src/p_enemy.cpp @@ -3475,7 +3475,7 @@ int P_Massacre (bool baddies, PClassActor *cls) int killcount = 0; AActor *actor; - TThinkerIterator iterator(cls); + TThinkerIterator iterator(cls? cls : RUNTIME_CLASS(AActor)); while ( (actor = iterator.Next ()) ) {