hedgewars/uGearsUtils.pas
changeset 15301 b12f63054c94
parent 15248 263b9850c16d
child 15647 1b044b47773b
--- a/hedgewars/uGearsUtils.pas	Sun Jul 28 00:36:09 2019 +0200
+++ b/hedgewars/uGearsUtils.pas	Mon Jul 29 21:58:39 2019 +0200
@@ -284,10 +284,7 @@
 
         Gear^.Hedgehog^.Team^.Clan^.Flawless:= false;
 
-        if (Gear^.State and gstHHDeath) <> 0 then
-            // If hog took damage while dying, explode hog instantly (see doStepHedgehogDead)
-            Gear^.Timer:= 1
-        else
+        if (Gear^.State and gstHHDeath) = 0 then
             begin
             HHHurt(Gear^.Hedgehog, Source, Damage);
             AddDamageTag(hwRound(Gear^.X), hwRound(Gear^.Y), Damage, Gear^.Hedgehog^.Team^.Clan^.Color);