anchor.diff:  
     if gGameCursor.MapEdSize = 0 then
     begin
  -    if (fMapXnOld <> fMapXn) or (fMapYnOld <> fMapYn) then
  -    begin
  -      LandTerKind[fMapYn, fMapXn].TerKind := aTerKind;
  -      AddBrushAreaTerKind(fMapXn, fMapYn);
  -    end;
  +    LandTerKind[fMapYn, fMapXn].TerKind := aTerKind;
  +    AddBrushAreaTerKind(fMapXn, fMapYn);
       Exit;
     end;
   
  
positive.code: 
    //Need to check if this tile was already smart-painted, "4-Nodes" hence default value is 0
    if (LandTerKind[pY,pX].Tiles <> Byte(Ter1)*Byte(Ter2)*(4-Nodes))
      or (gTerrain.Land[pY,pX].LayersCnt > 0) then
    begin
      LandTerKind[pY,pX].Tiles := Byte(Ter1)*Byte(Ter2)*(4-Nodes);//store not only nodes info, but also terrain type used
  
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;
  