Better comment previous patch
authorMarco Costalba <mcostalba@gmail.com>
Thu, 16 Oct 2008 10:53:25 +0000 (12:53 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 18 Oct 2008 19:35:32 +0000 (21:35 +0200)
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/movepick.cpp

index 361644af20bf9c18be7bdd45583e969416306012..066af5f95bdcf3f39b1273378397c9b92bbcbe89 100644 (file)
@@ -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;