X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=50dfcc0ced1dc210acb6bf8cb23ffe9c7e6458e7;hp=3862e27b74a1c4d6123441616cbcefa428a0f201;hb=72760c05c64d1fb2bb71c2ac54acfbeecf513b87;hpb=a24c0a736c6d27335c6c4401a2626f3cf44036cf diff --git a/src/search.cpp b/src/search.cpp index 3862e27b..50dfcc0c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1393,7 +1393,7 @@ split_point_start: // At split points actual search starts from here // to search the moves. Because the depth is <= 0 here, only captures, // queen promotions and checks (only if depth >= DEPTH_QS_CHECKS) will // be generated. - MovePicker mp(pos, ttMove, depth, H); + MovePicker mp(pos, ttMove, depth, H, move_to((ss-1)->currentMove)); CheckInfo ci(pos); Bitboard pinned = pos.pinned_pieces(pos.side_to_move());