mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +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
|
else
|
||||||
moves[i].score = H.move_ordering_score(pos->piece_on(move_from(m)), m);
|
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)
|
if (moves[i].score > 0)
|
||||||
moves[i].score += 1000;
|
moves[i].score += 1000;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user