diff --git a/source/search.cpp b/source/search.cpp index d8dcb1e..dafa6b4 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -285,7 +285,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) { } // Check if we need to do full window re-search - if (i && score > alpha && score < beta) { + if (moveSeen && score > alpha && score < beta) { score = -PVS(copy, newDepth, -beta, -alpha, ply + 1).score; }