hedgewars/uAIMisc.pas
changeset 15609 4ae2ebe812be
parent 15608 308930fe5f4a
child 15617 e21285b7c5e6
equal deleted inserted replaced
15608:308930fe5f4a 15609:4ae2ebe812be
   540 x:= round(CheckWrap(real(x)));
   540 x:= round(CheckWrap(real(x)));
   541 fallDmg:= 0;
   541 fallDmg:= 0;
   542 rate:= 0;
   542 rate:= 0;
   543 
   543 
   544 if (Flags and afIgnoreMe) = 0 then
   544 if (Flags and afIgnoreMe) = 0 then
       
   545     // add our virtual position
   545     with Targets.ar[Targets.Count] do
   546     with Targets.ar[Targets.Count] do
   546         // add our virtual position
       
   547         begin
   547         begin
   548         Point.x:= hwRound(Me^.X);
   548         Point.x:= hwRound(Me^.X);
   549         Point.y:= hwRound(Me^.Y);
   549         Point.y:= hwRound(Me^.Y);
   550         skip:= false;
   550         skip:= false;
   551         matters:= true;
   551         matters:= true;