anchor.diff:      procedure EditTile(const aLoc: TKMPoint; aTile: Word; aRotation: Byte; aIsCustom: Boolean = True);
       procedure GenerateAddnData;
       procedure InitSize(X,Y: Word);
  +
  +    function IsTerrainRepresentTerKind(aTerId: Word; aTerKind: TKMTerrainKind): Boolean;
   
       procedure RebuildTile(const X,Y: Integer);
     public
  
positive.code: 
    if gGameCursor.MapEdSize = 0 then
    begin
      if (fMapXnOld <> fMapXn) or (fMapYnOld <> fMapYn) then
      begin
        LandTerKind[fMapYn, fMapXn].TerKind := aTerKind;
        AddBrushAreaTerKind(fMapXn, fMapYn);
      end;
      Exit;
    end;
  
  
negative.code: 
    if TKMTileMaskKind(gGameCursor.MapEdBrushMask) <> mk_None then
      UseMagicBrush(X, Y, Size, (gGameCursor.MapEdShape = hsSquare), True);
  
    gTerrain.UpdatePassability(KMRectGrow(KMRect(gGameCursor.Cell), (Size div 2) + 1));
  end;
  