hedgewars/uGearsUtils.pas
changeset 10558 b574f04c9685
parent 10526 b43d175d1577
child 10634 35d059bd0932
--- a/hedgewars/uGearsUtils.pas	Fri Nov 28 14:58:33 2014 -0500
+++ b/hedgewars/uGearsUtils.pas	Fri Nov 28 21:30:36 2014 -0500
@@ -1038,7 +1038,7 @@
                         end;
                     if dmg > 0 then
                         begin
-                        if (Gear^.Kind <> gtHedgehog) or (t^.Hedgehog^.Effects[heInvulnerable] = 0) then
+                        if (t^.Kind <> gtHedgehog) or (t^.Hedgehog^.Effects[heInvulnerable] = 0) then
                             ApplyDamage(t, Gear^.Hedgehog, dmg, dsBullet)
                         else
                             Gear^.State:= Gear^.State or gstWinner;