mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 08:36:33 +08: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user