mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03: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;
|
Move m = moves[i].move;
|
||||||
moves[i].score = pos.see(m);
|
moves[i].score = pos.see(m);
|
||||||
//if (moves[i].score >= 0)
|
if (moves[i].score >= 0)
|
||||||
// moves[i].score = move_promotion(m) ? QueenValueMidgame
|
moves[i].score = move_promotion(m) ? QueenValueMidgame
|
||||||
// : pos.midgame_value_of_piece_on(move_to(m));
|
: pos.midgame_value_of_piece_on(move_to(m));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue