- fixed: AActor::Massacre must return true only when it actually kills a monster.

This commit is contained in:
Christoph Oelckers 2014-10-31 21:08:13 +01:00
parent 388454255d
commit 0ff65bb430
1 changed files with 1 additions and 1 deletions

View File

@ -1167,7 +1167,7 @@ bool AActor::Massacre ()
P_DamageMobj (this, NULL, NULL, TELEFRAG_DAMAGE, NAME_Massacre); P_DamageMobj (this, NULL, NULL, TELEFRAG_DAMAGE, NAME_Massacre);
} }
while (health != prevhealth && health > 0); //abort if the actor wasn't hurt. while (health != prevhealth && health > 0); //abort if the actor wasn't hurt.
return true; return health <= 0;
} }
return false; return false;
} }