mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +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;
|
||||
|
||||
case CAPTURES_S6:
|
||||
move = (curMove++)->move;
|
||||
move = pick_best(curMove++, lastMove)->move;
|
||||
if (to_sq(move) == recaptureSquare)
|
||||
return move;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue