]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Tweak RestrictedPiece bonus
[stockfish] / src / search.cpp
index 3bd1a92d7fc2c9106b6ae2df89901dee25fc5d9c..1490a26691f8cddd675af7b2e493f09dc6fd263d 100644 (file)
@@ -1028,7 +1028,11 @@ moves_loop: // When in check, search starts from here
                   continue;
           }
           else if (!pos.see_ge(move, Value(-194) * depth)) // (~25 Elo)
-                  continue;
+          {
+              if (captureOrPromotion && captureCount < 32)
+                  capturesSearched[captureCount++] = move;
+              continue;
+          }
       }
 
       // Step 14. Extensions (~75 Elo)