X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=3c32c4bb762a45ee1ae35f14a02aa119ff654418;hp=0ce836f777797ac0d4b785cad8a911261a8c064c;hb=ce0a95c2c013f4aa9d41a80b8f12f005fe162fcb;hpb=8aa8608c2a30acc56c4bb4467309cef5089fb2bd diff --git a/src/search.cpp b/src/search.cpp index 0ce836f7..3c32c4bb 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1393,10 +1393,6 @@ moves_loop: // When in check and at SpNode search starts from here { int score = RootMoves[i].score; - // Don't allow crazy blunders even at very low skills - if (i > 0 && RootMoves[i - 1].score > score + 2 * PawnValueMg) - break; - // This is our magic formula score += ( weakness * int(RootMoves[0].score - score) + variance * (rng.rand() % weakness)) / 128;