]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Combo of statscore divisor and pawn psqt changes
[stockfish] / src / movepick.cpp
index a70785e769710bcd81ce704ca74bec8cadf03607..b7f66178b218b932e7f38642f1efbd55dfc6e506 100644 (file)
@@ -200,11 +200,15 @@ top:
       /* fallthrough */
 
   case QUIET_INIT:
-      cur = endBadCaptures;
-      endMoves = generate<QUIETS>(pos, cur);
+      if (!skipQuiets)
+      {
+          cur = endBadCaptures;
+          endMoves = generate<QUIETS>(pos, cur);
+
+          score<QUIETS>();
+          partial_insertion_sort(cur, endMoves, -4000 * depth / ONE_PLY);
+      }
 
-      score<QUIETS>();
-      partial_insertion_sort(cur, endMoves, -4000 * depth / ONE_PLY);
       ++stage;
       /* fallthrough */