- fixed: P_Massacre without a class restriction no longer worked.

This commit is contained in:
Christoph Oelckers 2018-12-01 22:44:06 +01:00 committed by drfrag
parent d18ed18d2e
commit 53c1614a51

View file

@ -3485,7 +3485,7 @@ int P_Massacre (bool baddies, PClassActor *cls)
int killcount = 0;
AActor *actor;
TThinkerIterator<AActor> iterator(cls);
TThinkerIterator<AActor> iterator(cls? cls : RUNTIME_CLASS(AActor));
while ( (actor = iterator.Next ()) )
{