hedgewars/uGears.pas
changeset 1221 51e3f3cfdca5
parent 1207 ceaab010269e
child 1242 4aca5f7b2504
equal deleted inserted replaced
1220:ebb643caeb34 1221:51e3f3cfdca5
   783 			amKamikaze: DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy,
   783 			amKamikaze: DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy,
   784 						hwSign(Gear^.dX),
   784 						hwSign(Gear^.dX),
   785 						1,
   785 						1,
   786 						5,
   786 						5,
   787 						0);
   787 						0);
   788 			amWhip: begin
   788 			amWhip: DrawRotatedF(sprWhip,
   789 				DrawRotatedF(sprWhip,
       
   790 						hwRound(Gear^.X) + 1 + WorldDx,
   789 						hwRound(Gear^.X) + 1 + WorldDx,
   791 						hwRound(Gear^.Y) - 3 + WorldDy,
   790 						hwRound(Gear^.Y) - 3 + WorldDy,
   792 						0,
   791 						0,
   793 						hwSign(Gear^.dX),
   792 						hwSign(Gear^.dX),
   794 						0);
   793 						0);
   795 				defaultPos:= false
   794 			amSeduction: DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy,
   796 				end;
   795 						hwSign(Gear^.dX),
       
   796 						2,
       
   797 						2,
       
   798 						0);
   797 		else
   799 		else
   798 			DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy,
   800 			DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy,
   799 				hwSign(Gear^.dX),
   801 				hwSign(Gear^.dX),
   800 				0,
   802 				0,
   801 				4,
   803 				4,