From: Marco Costalba Date: Fri, 17 Oct 2008 20:54:23 +0000 (+0200) Subject: movegen: revert see ordering in score_captures() X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=94f1b31484c2415b19a43f385e92cd1cb4bd7ecc;p=fairystockfish.git movegen: revert see ordering in score_captures() It works better with MVV ordering. Signed-off-by: Marco Costalba --- diff --git a/src/movepick.cpp b/src/movepick.cpp index c0ec867..1024cbf 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -215,9 +215,9 @@ void MovePicker::score_captures() { { Move m = moves[i].move; moves[i].score = pos.see(m); - //if (moves[i].score >= 0) - // moves[i].score = move_promotion(m) ? QueenValueMidgame - // : pos.midgame_value_of_piece_on(move_to(m)); + if (moves[i].score >= 0) + moves[i].score = move_promotion(m) ? QueenValueMidgame + : pos.midgame_value_of_piece_on(move_to(m)); } }