Revert "bugfix related to function declaration"
This reverts commit e7079c3c73.
This commit is contained in:
1 parent
43dc63cdf3
commit
dc729a3bd5
1 file changed
+1
-1
+1
-1
@@ -113,7 +113,7 @@ static bool IsInsuffMat(Board& board) {
|
||||
&& !(board.pieces[Pawn] | board.pieces[Queen] | board.pieces[Rook]));
|
||||
}
|
||||
|
||||
bool IsDraw(Board &board, SearchContext& ctx) {
|
||||
static bool IsDraw(Board &board, SearchContext& ctx) {
|
||||
return IsFifty(board) || IsInsuffMat(board) || IsThreefold(board, ctx);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user