added threats hist | bench 5938098
This commit is contained in:
1 parent
729d24c7c8
commit
1dd0e33d2b
5 files changed
+43
-1
No files matched your search
@@ -553,3 +553,7 @@ Bitboard Board::AttacksTo(int square, Bitboard occupancy) {
|
||||
|
||||
return attacks;
|
||||
}
|
||||
|
||||
bool Board::IsSquareThreatened(bool side, int square) {
|
||||
return colorThreats[!side].IsSet(square);
|
||||
}
|
||||
Reference in new issue
Block a user