mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
movegen: revert see ordering in score_captures()
It works better with MVV ordering. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
c852a94009
commit
94f1b31484
1 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue