diff -r 06558ee35f51 -r 4ad07103cfae hedgewars/uGearsRender.pas --- a/hedgewars/uGearsRender.pas Sun Aug 21 22:18:54 2011 +0200 +++ b/hedgewars/uGearsRender.pas Sun Aug 21 22:20:20 2011 +0200 @@ -885,11 +885,11 @@ i: Longword; startX, endX, startY, endY: LongInt; begin - if Gear^.TargetX <> NoPointX then + if Gear^.Target.X <> NoPointX then if Gear^.AmmoType = amBee then - DrawRotatedF(sprTargetBee, Gear^.TargetX + WorldDx, Gear^.TargetY + WorldDy, 0, 0, (RealTicks shr 3) mod 360) + DrawRotatedF(sprTargetBee, Gear^.Target.X + WorldDx, Gear^.Target.Y + WorldDy, 0, 0, (RealTicks shr 3) mod 360) else - DrawRotatedF(sprTargetP, Gear^.TargetX + WorldDx, Gear^.TargetY + WorldDy, 0, 0, (RealTicks shr 3) mod 360); + DrawRotatedF(sprTargetP, Gear^.Target.X + WorldDx, Gear^.Target.Y + WorldDy, 0, 0, (RealTicks shr 3) mod 360); case Gear^.Kind of gtGrenade: DrawRotated(sprBomb, x, y, 0, Gear^.DirAngle);