anchor.diff:      function AvoidTrafficRoute(aOwner: TKMHandID; aStart, aEnd: TKMPoint; out aDistance: Word; out aRoutePointArray: TKMPointArray): Boolean;
       function AvoidEnemyRoute(aOwner: TKMHandID; aGroup: TKMGroupType; aStart, aEnd: TKMPoint; out aDistance: Word; out aRoutePointArray: TKMPointArray): Boolean;
   
  -    {$IFDEF DEBUG_NavMeshPathfinding}
  +    {$IFDEF DEBUG_NavMeshPathFinding}
       procedure Paint();
       {$ENDIF}
     end;
  
positive.code: implementation
  uses
     KM_AIFields, KM_NavMesh, KM_NavMeshGenerator,
     {$IFDEF DEBUG_NavMeshPathfinding}
     KM_RenderAux,
     {$ENDIF}
     KM_AIParameters;
  
  
negative.code:   inherited;
    fHeap := TBinaryHeap.Create(MAX_POLYGONS);
    fHeap.Cmp := HeapCmp;
    {$IFDEF DEBUG_NavMeshPathFinding}
    fTimeSumShortest := 0;
    fTimeSumShortestPoly := 0;
    fTimeSumTraffic := 0;
    fTimeSumEnemy := 0;
    fTimePeakShortest := 0;
    fTimePeakShortestPoly := 0;
    fTimePeakTraffic := 0;
    fTimePeakEnemy := 0;
    {$ENDIF}
  end;
  
  
  