No globals #50

Merged
rektdie merged 23 commits from no_globals into main 2025-04-12 13:52:41 +02:00
Showing only changes of commit e7079c3c73 - Show all commits
+1 -1
View File
@@ -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);
}