]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.cpp
Renaming in MovePicker
[stockfish] / src / evaluate.cpp
index 5e4f4bdd6dc71749b22aba8417a7b5d2ed098664..259a5bc5b6086ae927c8bc77669e44b303f0dfd4 100644 (file)
@@ -360,7 +360,8 @@ namespace {
         if (Pt == QUEEN)
         {
             // Penalty if any relative pin or discovered attack against the queen
-            if (pos.slider_blockers(pos.pieces(Them, ROOK, BISHOP), s))
+            Bitboard pinners;
+            if (pos.slider_blockers(pos.pieces(Them, ROOK, BISHOP), s, pinners))
                 score -= WeakQueen;
         }
     }