diff --git a/source/search.cpp b/source/search.cpp index ec655df..7edce3c 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -113,7 +113,7 @@ static bool IsInsuffMat(Board& board) { && !(board.pieces[Pawn] | board.pieces[Queen] | board.pieces[Rook])); } -static bool IsDraw(Board &board, SearchContext& ctx) { +bool IsDraw(Board &board, SearchContext& ctx) { return IsFifty(board) || IsInsuffMat(board) || IsThreefold(board, ctx); }