hedgewars/uGears.pas
changeset 1717 f4cf7e36ae3e
parent 1696 bb1e305320a1
child 1738 00e8dadce69a
--- a/hedgewars/uGears.pas	Mon Jan 19 15:36:40 2009 +0000
+++ b/hedgewars/uGears.pas	Mon Jan 19 15:42:07 2009 +0000
@@ -665,6 +665,10 @@
 				end;
 			gtDEagleShot: DrawRotated(sprDEagle, hx, hy, hwSign(Gear^.dX), aangle);
 			gtBallgun: DrawRotated(sprHandBallgun, hx, hy, hwSign(Gear^.dX), aangle);
+			gtRCPlane: begin
+				DrawRotated(sprHandPlane, hx, hy, hwSign(Gear^.dX), 0);
+				defaultPos:= false
+				end;
 			gtRope: begin
 				if Gear^.X < CurAmmoGear^.X then
 					begin
@@ -808,13 +812,17 @@
 		amt:= CurrentHedgehog^.Ammo^[CurrentHedgehog^.CurSlot, CurrentHedgehog^.CurAmmo].AmmoType;
 		case amt of
 			amBazooka,
-			amMortar,amRCPlane: DrawRotated(sprHandBazooka, hx, hy, hwSign(Gear^.dX), aangle);
-                        amBallgun: DrawRotated(sprHandBallgun, hx, hy, hwSign(Gear^.dX), aangle);
-                        amDrill: DrawRotated(sprHandDrill, hx, hy, hwSign(Gear^.dX), aangle);
+			amMortar: DrawRotated(sprHandBazooka, hx, hy, hwSign(Gear^.dX), aangle);
+			amBallgun: DrawRotated(sprHandBallgun, hx, hy, hwSign(Gear^.dX), aangle);
+			amDrill: DrawRotated(sprHandDrill, hx, hy, hwSign(Gear^.dX), aangle);
 			amRope: DrawRotated(sprHandRope, hx, hy, hwSign(Gear^.dX), aangle);
 			amShotgun: DrawRotated(sprHandShotgun, hx, hy, hwSign(Gear^.dX), aangle);
 			amDEagle: DrawRotated(sprHandDEagle, hx, hy, hwSign(Gear^.dX), aangle);
 			amBlowTorch: DrawRotated(sprHandBlowTorch, hx, hy, hwSign(Gear^.dX), aangle);
+			amRCPlane: begin
+				DrawRotated(sprHandPlane, hx, hy, hwSign(Gear^.dX), 0);
+				defaultPos:= false
+				end;
 		end;
 
 		case amt of