Skip to content

Commit

Permalink
- Added missing LAXTELEFRAGDMG support to SelfDamageFactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorCooke authored and coelckers committed May 15, 2017
1 parent a96ef52 commit 6bbbd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p_interaction.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6bbbd28

Please sign in to comment.