hedgewars/uTeams.pas
changeset 9685 7d925e82e572
parent 9656 18422d205080
child 9720 453a1c29b7e4
--- a/hedgewars/uTeams.pas	Thu Nov 07 23:08:28 2013 -0500
+++ b/hedgewars/uTeams.pas	Fri Nov 08 23:11:13 2013 -0500
@@ -528,7 +528,7 @@
 
             if Gear <> nil then
                 begin
-                Gear^.Invulnerable:= false;
+                Gear^.Hedgehog^.Effects[heInvulnerable]:= 0;
                 Gear^.Damage:= Gear^.Health;
                 Gear^.State:= (Gear^.State or gstHHGone) and (not gstHHDriven)
                 end