mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +00:00
Order the recaptures by MVV/LVA
Almost no functional change because multiple recaptures to same square are very rare, but neverthless it seems the correct thing to do. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
6f6be95bad
commit
ec9b037e5f
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ Move MovePicker::next_move() {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CAPTURES_S6:
|
case CAPTURES_S6:
|
||||||
move = (curMove++)->move;
|
move = pick_best(curMove++, lastMove)->move;
|
||||||
if (to_sq(move) == recaptureSquare)
|
if (to_sq(move) == recaptureSquare)
|
||||||
return move;
|
return move;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue