mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-02 23:52:25 +00:00
- Added missing LAXTELEFRAGDMG support to SelfDamageFactor.
This commit is contained in:
parent
a96ef5276d
commit
6bbbd28a08
1 changed files with 1 additions and 1 deletions
|
@ -963,7 +963,7 @@ static int DamageMobj (AActor *target, AActor *inflictor, AActor *source, int da
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (target == source && damage < TELEFRAG_DAMAGE)
|
if (target == source && (!telefragDamage || target->flags7 & MF7_LAXTELEFRAGDMG))
|
||||||
{
|
{
|
||||||
damage = int(damage * target->SelfDamageFactor);
|
damage = int(damage * target->SelfDamageFactor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue