hedgewars/uGearsUtils.pas
changeset 8763 988901d27abf
parent 8751 4609823efc94
child 8833 c13ebed437cb
child 8947 e906ebd59612
--- a/hedgewars/uGearsUtils.pas	Thu Mar 21 11:51:13 2013 +0100
+++ b/hedgewars/uGearsUtils.pas	Thu Mar 21 15:01:27 2013 +0100
@@ -137,7 +137,7 @@
                                 Gear^.Active:= true;
                                 if Gear^.Kind <> gtFlame then FollowGear:= Gear
                                 end;
-                            if ((Mask and EXPLPoisoned) <> 0) and (Gear^.Kind = gtHedgehog) and (not Gear^.Invulnerable) then
+                            if ((Mask and EXPLPoisoned) <> 0) and (Gear^.Kind = gtHedgehog) and (not Gear^.Invulnerable) and ((Gear^.State and gstHHDeath) = 0) then
                                 Gear^.Hedgehog^.Effects[hePoisoned] := 1;
                             end;