mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Better comment previous patch
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -257,6 +257,7 @@ void MovePicker::score_noncaptures() {
|
||||
else
|
||||
moves[i].score = H.move_ordering_score(pos->piece_on(move_from(m)), m);
|
||||
|
||||
// Ensure moves in history are always sorted as first
|
||||
if (moves[i].score > 0)
|
||||
moves[i].score += 1000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user