]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Apply good/bad history reduction also when inCheck
[stockfish] / src / search.cpp
index 66402f0429a390d491aeaae86b26021e5f5de185..c41df1f0fdcb7005526a20ba2b349cfaa3c80542 100644 (file)
@@ -1172,8 +1172,7 @@ moves_loop: // When in check, search starts from here
                              - 4923;
 
               // Decrease/increase reduction for moves with a good/bad history (~30 Elo)
-              if (!ss->inCheck)
-                  r -= ss->statScore / 14721;
+              r -= ss->statScore / 14721;
           }
 
           // In general we want to cap the LMR depth search at newDepth. But if