hedgewars/uGears.pas
changeset 13345 e54d6db06f35
parent 13319 78f097923bcb
child 13569 7d2e2a5d4bff
--- a/hedgewars/uGears.pas	Tue Apr 24 21:49:12 2018 +0200
+++ b/hedgewars/uGears.pas	Thu Apr 26 00:21:03 2018 +0200
@@ -537,6 +537,8 @@
                         begin
                         if (GameFlags and gfInvulnerable) = 0 then
                             Gear^.Hedgehog^.Effects[heInvulnerable]:= 0;
+                        if (Gear^.Hedgehog^.Effects[heArtillery] = 2) then
+                            Gear^.Hedgehog^.Effects[heArtillery]:= 0;
                         end;
                     end;
     t:= GearsList;