# HG changeset patch
# User sheepluva
# Date 1314277011 -7200
# Node ID 5fc750c7f2b4b002ba40dc257ba8c5c9f529e715
# Parent  c0107c991dda7532b681de9926c47fc9398c6551
don't poison invul hogs

diff -r c0107c991dda -r 5fc750c7f2b4 hedgewars/uGears.pas
--- 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;