mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-31 04:50:48 +00:00
- fixed: Telefrag damage should not be affected by skill damage factors.
SVN r3218 (trunk)
This commit is contained in:
parent
60a411c9ad
commit
24ac385d83
1 changed files with 1 additions and 1 deletions
|
@ -949,7 +949,7 @@ void P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
player = target->player;
|
player = target->player;
|
||||||
if (player && damage > 1)
|
if (player && damage > 1 && damage < TELEFRAG_DAMAGE)
|
||||||
{
|
{
|
||||||
// Take half damage in trainer mode
|
// Take half damage in trainer mode
|
||||||
damage = FixedMul(damage, G_SkillProperty(SKILLP_DamageFactor));
|
damage = FixedMul(damage, G_SkillProperty(SKILLP_DamageFactor));
|
||||||
|
|
Loading…
Reference in a new issue