X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=9689668956e8ae77f147ef1f9203c9a58ffa7e57;hp=496df5db93f18d553f2634bcdcfa07a927fabea4;hb=42b77ea7eecaf5f31bf87c7075945273685aa4f5;hpb=4095ff0ee51bdc76c247bd11d5f3a7008974e2ad diff --git a/src/search.cpp b/src/search.cpp index 496df5db..96896689 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -749,7 +749,7 @@ namespace { assert((ss-1)->currentMove != MOVE_NONE); assert((ss-1)->currentMove != MOVE_NULL); - MovePicker mp(pos, ttMove, History, CounterMovesHistory, pos.captured_piece_type()); + MovePicker mp(pos, ttMove, History, CounterMovesHistory, PieceValue[MG][pos.captured_piece_type()]); CheckInfo ci(pos); while ((move = mp.next_move()) != MOVE_NONE)