From: Marco Costalba Date: Thu, 16 Oct 2008 10:53:25 +0000 (+0200) Subject: Better comment previous patch X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=a930aafce069c90349c6bf454f7e3b497fba6710;hp=b3744eb4d0df5b9a2a78ef7de236b9a7aff7b6ca Better comment previous patch Signed-off-by: Marco Costalba --- diff --git a/src/movepick.cpp b/src/movepick.cpp index 361644af..066af5f9 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -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;