hedgewars/uGearsRender.pas
changeset 13096 d78e65c66573
parent 12898 8a40ce061d94
child 13150 2f7c25bf4201
equal deleted inserted replaced
13095:4118006fab95 13096:d78e65c66573
   277         exit;
   277         exit;
   278     if (HH^.CurAmmoType = amKnife) and (HH = CurrentHedgehog) then
   278     if (HH^.CurAmmoType = amKnife) and (HH = CurrentHedgehog) then
   279          curhat:= ChefHatTexture
   279          curhat:= ChefHatTexture
   280     else curhat:= HH^.HatTex;
   280     else curhat:= HH^.HatTex;
   281     m:= 1;
   281     m:= 1;
   282     if ((Gear^.State and gstHHHJump) <> 0) and (not cArtillery) then
   282     if ((Gear^.State and gstHHHJump) <> 0) and (HH^.Effects[heArtillery] = 0) then
   283         m:= -1;
   283         m:= -1;
   284     sx:= ox + 1; // this offset is very common
   284     sx:= ox + 1; // this offset is very common
   285     sy:= oy - 3;
   285     sy:= oy - 3;
   286     sign:= hwSign(Gear^.dX);
   286     sign:= hwSign(Gear^.dX);
   287 
   287