hedgewars/uGearsRender.pas
changeset 13096 d78e65c66573
parent 12898 8a40ce061d94
child 13150 2f7c25bf4201
--- a/hedgewars/uGearsRender.pas	Wed Mar 07 20:27:42 2018 +0100
+++ b/hedgewars/uGearsRender.pas	Wed Mar 07 22:47:55 2018 +0100
@@ -279,7 +279,7 @@
          curhat:= ChefHatTexture
     else curhat:= HH^.HatTex;
     m:= 1;
-    if ((Gear^.State and gstHHHJump) <> 0) and (not cArtillery) then
+    if ((Gear^.State and gstHHHJump) <> 0) and (HH^.Effects[heArtillery] = 0) then
         m:= -1;
     sx:= ox + 1; // this offset is very common
     sy:= oy - 3;