equal
deleted
inserted
replaced
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 |