# HG changeset patch
# User nemo
# Date 1417228236 18000
# Node ID b574f04c9685f6c48d77794b7fdb62f87a795398
# Parent  c4ca0fc00c3bd17e94c58cf1aff02ef9a6710af2
fix invulnerability check for shotgun

diff -r c4ca0fc00c3b -r b574f04c9685 hedgewars/uGearsUtils.pas
--- 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;