X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=e2d4093ad6e6ccb8bbcc28a1b14ec6aa0c37f236;hp=e28b866e9cb26b2bc26c5bc5460a6e091aa2ef81;hb=20d7197a9be9c03f153c7ceac73857da8416bba4;hpb=f4758ced90ceb30130c283237680edb59c24137b diff --git a/src/search.cpp b/src/search.cpp index e28b866e..e2d4093a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1389,7 +1389,7 @@ namespace { // to search the moves. Because the depth is <= 0 here, only captures, // queen promotions and checks (only if depth == 0) will be generated. MovePicker mp = MovePicker(pos, false, MOVE_NONE, MOVE_NONE, MOVE_NONE, - MOVE_NONE, depth); + MOVE_NONE, depth, &ei); Move move; int moveCount = 0; Bitboard dcCandidates = mp.discovered_check_candidates();