]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify MCP in QS
[stockfish] / src / search.cpp
index d6b611a31bb261d3573ea548cc180ec476cd4aed..cae8a6845626e7db07a3bd82a08332eac6322a04 100644 (file)
@@ -1526,7 +1526,7 @@ moves_loop: // When in check, search starts from here
           assert(type_of(move) != ENPASSANT); // Due to !pos.advanced_pawn_push
 
           // moveCount pruning
-          if (moveCount > abs(depth) + 2)
+          if (moveCount > 2)
               continue;
 
           futilityValue = futilityBase + PieceValue[EG][pos.piece_on(to_sq(move))];