hedgewars/uWorld.pas
changeset 3110 c8d7c852e26a
parent 3107 1fa539758c10
child 3113 2829ea0dd47c
equal deleted inserted replaced
3109:06c089cb739c 3110:c8d7c852e26a
   528 // Target
   528 // Target
   529 if (TargetPoint.X <> NoPointX) and (CurrentTeam <> nil) and (CurrentHedgehog <> nil) then
   529 if (TargetPoint.X <> NoPointX) and (CurrentTeam <> nil) and (CurrentHedgehog <> nil) then
   530     begin
   530     begin
   531     with PHedgehog(CurrentHedgehog)^ do
   531     with PHedgehog(CurrentHedgehog)^ do
   532         begin
   532         begin
   533 //        if (Ammo^[CurSlot, CurAmmo].AmmoType = amBee) then
   533         if (Ammo^[CurSlot, CurAmmo].AmmoType = amBee) then
   534 //            DrawRotatedF(sprTargetBee, TargetPoint.X + WorldDx, TargetPoint.Y + WorldDy, 0, 0, (RealTicks shr 3) mod 360)
   534             DrawRotatedF(sprTargetBee, TargetPoint.X + WorldDx, TargetPoint.Y + WorldDy, 0, 0, (RealTicks shr 3) mod 360)
   535 //        else
   535         else
   536             DrawRotatedF(sprTargetP, TargetPoint.X + WorldDx, TargetPoint.Y + WorldDy, 0, 0, (RealTicks shr 3) mod 360);
   536             DrawRotatedF(sprTargetP, TargetPoint.X + WorldDx, TargetPoint.Y + WorldDy, 0, 0, (RealTicks shr 3) mod 360);
   537         end;
   537         end;
   538     end;
   538     end;
   539 {$WARNINGS ON}
   539 {$WARNINGS ON}
   540 
   540