hedgewars/uGearsHedgehog.pas
changeset 9685 7d925e82e572
parent 9675 295636ec930a
child 9706 5178d2263521
--- a/hedgewars/uGearsHedgehog.pas	Thu Nov 07 23:08:28 2013 -0500
+++ b/hedgewars/uGearsHedgehog.pas	Fri Nov 08 23:11:13 2013 -0500
@@ -377,7 +377,7 @@
                                  PlaySound(sndHellishImpact4);
                                  cDamageModifier:= _1_5
                                  end;
-                 amInvulnerable: Invulnerable:= true;
+                 amInvulnerable: Effects[heInvulnerable]:= 1;
                     amExtraTime: begin
                                  PlaySound(sndSwitchHog);
                                  TurnTimeLeft:= TurnTimeLeft + 30000