anchor.diff:  
   var
     DX,DY: Word;
  -  Output: Longword;
  +  Output: Cardinal;
   begin
     Output := 0;
     //Do not add extra cost if the tile is the target, as it can cause a longer route to be chosen
  
positive.code:   c_closed = 65535; // High(Word)
  var
    N: TNavMeshNode;
    I, Idx, NewCost: Word;
    POMPoint: TKMPoint;
    PolyArr: TPolygonArray;
  begin
  
negative.code:     procedure Flush(aDestroy: Boolean = False);
    protected
      function GetNodeAt(aIdx: Word): TNavMeshNode;
      function MovementCost(aFrom, aTo: Word; var aSPoint, aEPoint: TKMPoint): Cardinal;
      function EstimateToFinish(aIdx: Word): Word;
  
      function InitPolygonRoute(aStart, aEnd: Word; out aDistance: Word; out aRoutePolygonArray: TKMWordArray): Boolean;
  