fixed illegal castling

This commit is contained in:
rektdie committed 2025-03-24 18:21:07 +01:00
1 parent 2943fccce6
commit b9792e56da
5 files changed
+52 -6

No files matched your search

+2 -2
View File
@@ -39,7 +39,7 @@ void GenKingMoves(Board &board);
template <MovegenMode mode>
void GenerateMoves(Board &board);
void GenThreatMaps(Board &board);
// bishop relevant occupancy bit count
constexpr int bishopRelevantBits[64] = {
@@ -199,4 +199,4 @@ constexpr U64 bishopMagicNumbers[64] = {
0x4010011029020020ULL
};
#include "movegen.tpp"
}
}