From f02a84254059aba2ce6a546d36666015eee1c0af Mon Sep 17 00:00:00 2001 From: Shtoyan Date: Mon, 7 Feb 2022 14:58:46 +0400 Subject: [PATCH] FP one hit kill fix now they won't send you to hell when you attack them during hit animation --- sources/Zeds/Nice/NiceZombieFleshPound.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/Zeds/Nice/NiceZombieFleshPound.uc b/sources/Zeds/Nice/NiceZombieFleshPound.uc index 1a7ea05..b724dc0 100644 --- a/sources/Zeds/Nice/NiceZombieFleshPound.uc +++ b/sources/Zeds/Nice/NiceZombieFleshPound.uc @@ -132,7 +132,7 @@ function TakeDamageClient(int Damage, Pawn InstigatedBy, Vector Hitlocation, Vec PostNetReceive(); Super.TakeDamageClient(Damage, instigatedBy, hitLocation, momentum, damageType, headshotLevel, lockonTime); TwoSecondDamageTotal += OldHealth - Health; - if( !bDecapitated && TwoSecondDamageTotal > RageDamageThreshold && !bChargingPlayer && + if( !bDecapitated && TwoSecondDamageTotal > RageDamageThreshold && !bChargingPlayer && !bShotAnim && (!(bWasBurning && bCrispified) || bFrustrated) ) StartChargingFP(InstigatedBy); }