changeset 5681 | 5fc750c7f2b4 |
parent 5638 | e35ba2a400d8 |
child 5689 | 48ef34701751 |
--- a/hedgewars/uGears.pas Wed Aug 24 23:37:03 2011 -0400 +++ b/hedgewars/uGears.pas Thu Aug 25 14:56:51 2011 +0200 @@ -1300,7 +1300,7 @@ Gear^.Active:= true; if Gear^.Kind <> gtFlame then FollowGear:= Gear end; - if ((Mask and EXPLPoisoned) <> 0) and (Gear^.Kind = gtHedgehog) then + if ((Mask and EXPLPoisoned) <> 0) and (Gear^.Kind = gtHedgehog) and not Gear^.Invulnerable then Gear^.Hedgehog^.Effects[hePoisoned] := true; end;