X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=1490a26691f8cddd675af7b2e493f09dc6fd263d;hp=3bd1a92d7fc2c9106b6ae2df89901dee25fc5d9c;hb=0ae00454ba6928d181b46103e5c83e6d58fcebe5;hpb=56e698ef8382cc837507c8910bf2409ebb4aec77 diff --git a/src/search.cpp b/src/search.cpp index 3bd1a92d..1490a266 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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)