hedgewars/uGearsRender.pas
changeset 4578 f3cf226fad16
parent 4394 c1f2ca416ea8
child 4611 445d382cd401
equal deleted inserted replaced
4576:d85062310790 4578:f3cf226fad16
   541                 end;
   541                 end;
   542             amt:= CurrentHedgehog^.CurAmmoType;
   542             amt:= CurrentHedgehog^.CurAmmoType;
   543             CurWeapon:= GetAmmoEntry(HH^);
   543             CurWeapon:= GetAmmoEntry(HH^);
   544             case amt of
   544             case amt of
   545                 amBazooka: DrawRotated(sprHandBazooka, hx, hy, sign, aangle);
   545                 amBazooka: DrawRotated(sprHandBazooka, hx, hy, sign, aangle);
       
   546                 amSnowball: DrawRotated(sprHandSnowball, hx, hy, sign, aangle);
   546                 amMortar: DrawRotated(sprHandMortar, hx, hy, sign, aangle);
   547                 amMortar: DrawRotated(sprHandMortar, hx, hy, sign, aangle);
   547                 amMolotov: DrawRotated(sprHandMolotov, hx, hy, sign, aangle);
   548                 amMolotov: DrawRotated(sprHandMolotov, hx, hy, sign, aangle);
   548                 amBallgun: DrawRotated(sprHandBallgun, hx, hy, sign, aangle);
   549                 amBallgun: DrawRotated(sprHandBallgun, hx, hy, sign, aangle);
   549                 amDrill: DrawRotated(sprHandDrill, hx, hy, sign, aangle);
   550                 amDrill: DrawRotated(sprHandDrill, hx, hy, sign, aangle);
   550                 amRope: DrawRotated(sprHandRope, hx, hy, sign, aangle);
   551                 amRope: DrawRotated(sprHandRope, hx, hy, sign, aangle);
   843     i: Longword;
   844     i: Longword;
   844     startX, endX, startY, endY: LongInt;
   845     startX, endX, startY, endY: LongInt;
   845 begin
   846 begin
   846     case Gear^.Kind of
   847     case Gear^.Kind of
   847           gtBomb: DrawRotated(sprBomb, x, y, 0, Gear^.DirAngle);
   848           gtBomb: DrawRotated(sprBomb, x, y, 0, Gear^.DirAngle);
       
   849       gtSnowball: DrawRotated(sprSnowball, x, y, 0, Gear^.DirAngle);
   848        gtGasBomb: DrawRotated(sprCheese, x, y, 0, Gear^.DirAngle);
   850        gtGasBomb: DrawRotated(sprCheese, x, y, 0, Gear^.DirAngle);
   849        gtMolotov: DrawRotated(sprMolotov, x, y, 0, Gear^.DirAngle);
   851        gtMolotov: DrawRotated(sprMolotov, x, y, 0, Gear^.DirAngle);
   850 
   852 
   851        gtRCPlane: begin
   853        gtRCPlane: begin
   852                   if (Gear^.Tag = -1) then
   854                   if (Gear^.Tag = -1) then