anchor.diff:    end;
   end;
   
  -// flags: oddyfinish, hexagonal, simple, moveleft, movedown (see TTileMap.AllocateHeuristedNode()
  +// flags: oddyfinish, hexagonal, simple, moveleft, movedown (see TTileMap.AllocateFlagHeuristedNode()
   function CalculatePathLoopFlags(Kind, Start, Finish: NativeInt): NativeInt;
   const
     MOVELEFT_OFFSET = 3;
  
positive.code:     HALF: Double;
      W1, W2: Double;
      StartPointNode: PCPFNode;
      SingleDiagonalWeigths: ^TSingleWeigths;
    {$endif}
  
    {$ifdef LARGEINT}
      NodeBuffers: PCPFNodeBuffers;
    {$endif}
  begin
    // attainable tree flag
    FNodes.AttainableTree := True;
  
  
negative.code:   end;
  end;
  
  function TTileMap.AllocateFlagHeuristedNode(X, Y: NativeInt): PCPFNode;
  const
    TEMP_WAY_OFFSET = 5;
    MOVELEFT_OFFSET = 3;
  