]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Revert "Simplify Evaluation"
[stockfish] / src / search.cpp
index cb7b30b8f6f102a832f79c1ae835046f8aa83128..c516f3c444786dd2b3a41d49b5250deb17a7d75f 100644 (file)
@@ -1343,6 +1343,7 @@ split_point_start: // At split points actual search starts from here
     Bitboard b = (enemies ^ ksq) & newAtt & ~oldAtt;
     while (b)
     {
+        // Note that here we generate illegal "double move"!
         if (futilityBase + PieceValue[EG][pos.piece_on(pop_lsb(&b))] >= beta)
             return true;
     }