anchor.diff:    end;
   
     var
  -    X,Y,I,K, MaxIdx, MaxCnt, cntr, finalCnt, ObstBiome, ObstVariance: Integer;
  +    X,Y,I,K, MaxIdx, MaxCnt, cntr, finalCnt, ObstBiome: Integer;
       Factor,Probability, ProbabilityReducer: Single;
       check: Boolean;
       Obstacle: TObstacleType;
  
positive.code: 
    //RMGSettings.Seed := 141; // DEBUG DEBUG DEBUG DEBUG DEBUG DEBUG DEBUG DEBUG DEBUG DEBUG
    fRNG.Seed := RMGSettings.Seed;
    gLog.AddTime('RMG seed: ' + IntToStr(fRNG.Seed));
  
  
    SetLength(A, gTerrain.MapY+1, gTerrain.MapX+1);
  
negative.code: // aTiles = empty TKMTerrainTileBriefArray
  procedure TKMRandomMapGenerator.GenerateMap(var aTiles: TKMTerrainTileBriefArray);
  var
    Y, X, K: Integer;
    //Pmin,Pmax: TKMPoint;
    //S1,S2,S3,S4: TInteger2Array;
    A,TileTemplateArr: TKMByte2Array;
    S: TInteger2Array;
    //TDAP: TKMPoint2Array;
    //P: TKMPointArray;
    //Points: TKMPoint2Array;
    //Resources: TBalancedResource1Array;
    TilesPartsArr: TTileParts;
  
    //Queue: TKMQuickFlood;
    //FillBiome: TKMFillBiome;
    //
    //LocMin, LocMax: TKMPoint;
    Locs: TKMPointArray;
  
  
  