diff --git a/src/search.cpp b/src/search.cpp index 197da7a4f..8b8c3d6d0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1223,7 +1223,7 @@ moves_loop: // When in check, search starts here else ss->statScore = 2 * thisThread->mainHistory[us][move.from_to()] + (*contHist[0])[movedPiece][move.to_sq()] - + (*contHist[1])[movedPiece][move.to_sq()] + 1000 * ss->inCheck - 3206; + + (*contHist[1])[movedPiece][move.to_sq()] - 3206; // Decrease/increase reduction for moves with a good/bad history r -= ss->statScore * 826 / 8192;