X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.cpp;h=3622f18e84217b14b56a506bf4bdf2d91fc0754e;hp=6ef4be4f1507de18f40a583ab87d3275798b9026;hb=c73706243672bf36b0fef58e817f843cb341d8ca;hpb=94e41274bba2d8a2f2d58aaa711df5872309d66c diff --git a/src/movegen.cpp b/src/movegen.cpp index 6ef4be4f..3622f18e 100644 --- a/src/movegen.cpp +++ b/src/movegen.cpp @@ -239,7 +239,7 @@ namespace { && !(PseudoAttacks[Pt][from] & target & ci->checkSquares[Pt])) continue; - if (ci->dcCandidates && (ci->dcCandidates & from)) + if (ci->dcCandidates & from) continue; }