Enable per-square MVV/LVA
authorMarco Costalba <mcostalba@gmail.com>
Fri, 14 Nov 2008 21:21:35 +0000 (22:21 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 16 Nov 2008 11:37:46 +0000 (12:37 +0100)
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/movepick.cpp

index 1519f85d04388c1b24940a31c4babf65ea33f7e0..34c69895562136317dc1ecb7d13917a42f262c60 100644 (file)
@@ -372,7 +372,7 @@ Move MovePicker::pick_move_from_list() {
 
       while (movesPicked < numOfMoves)
       {
-          bestIndex = find_best_index();
+          bestIndex = find_best_index(&capSquares, capSqValues);
 
           if (bestIndex != -1) // Found a good capture
           {