Does adultery affect who gets custody?

spacer