- 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
parent 577af8860c
commit 2d0b90deb1

View file

@ -3475,7 +3475,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 ()) )
{