From 6bbbd28a08184c1138ba3f8fbc8b8ac51b9bbaa9 Mon Sep 17 00:00:00 2001 From: Major Cooke Date: Mon, 15 May 2017 10:03:05 -0500 Subject: [PATCH] - Added missing LAXTELEFRAGDMG support to SelfDamageFactor. --- src/p_interaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_interaction.cpp b/src/p_interaction.cpp index 069967a7fb..e0ebfbcdb9 100644 --- a/src/p_interaction.cpp +++ b/src/p_interaction.cpp @@ -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); }