- Added missing LAXTELEFRAGDMG support to SelfDamageFactor.

This commit is contained in:
Major Cooke 2017-05-15 10:03:05 -05:00 committed by Christoph Oelckers
parent a96ef5276d
commit 6bbbd28a08

View file

@ -963,7 +963,7 @@ static int DamageMobj (AActor *target, AActor *inflictor, AActor *source, int da
}
return 0;
}
if (target == source && damage < TELEFRAG_DAMAGE)
if (target == source && (!telefragDamage || target->flags7 & MF7_LAXTELEFRAGDMG))
{
damage = int(damage * target->SelfDamageFactor);
}