mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- fixed: P_Massacre without a class restriction no longer worked.
This commit is contained in:
parent
577af8860c
commit
2d0b90deb1
1 changed files with 1 additions and 1 deletions
|
@ -3475,7 +3475,7 @@ int P_Massacre (bool baddies, PClassActor *cls)
|
||||||
|
|
||||||
int killcount = 0;
|
int killcount = 0;
|
||||||
AActor *actor;
|
AActor *actor;
|
||||||
TThinkerIterator<AActor> iterator(cls);
|
TThinkerIterator<AActor> iterator(cls? cls : RUNTIME_CLASS(AActor));
|
||||||
|
|
||||||
while ( (actor = iterator.Next ()) )
|
while ( (actor = iterator.Next ()) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue