]> git.sesse.net Git - stockfish/blobdiff - src/tt.cpp
Fixed a bug in PV extraction from the transposition table: The
[stockfish] / src / tt.cpp
index c1a8b1b950b24edbc514fdb43baaae2dc6909288..1e98aa24901549c888a3704576b5215619f6a6bf 100644 (file)
@@ -207,7 +207,7 @@ void TranspositionTable::extract_pv(const Position& pos, Move pv[]) {
        tte && tte->move() != MOVE_NONE && !stop;
        tte = retrieve(p.get_key()), ply++)
   {
-      if (!move_is_legal(p, tte->move(), p.pinned_pieces(p.side_to_move())))
+      if (!move_is_legal(p, tte->move()))
           break;
       pv[ply] = tte->move();
       p.do_move(pv[ply], st[ply]);