storing castling rights cheaper

This commit is contained in:
rektdie committed 2024-06-19 16:01:35 +02:00
1 parent 6e8f7e3d86
commit 70bea0713c
5 files changed
+44 -37

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ public:
int halfMoves = 0;
int fullMoves = 0;
std::array<bool, 4> castlingRights = { false, false, false, false };
uint8_t castlingRights = 0;
int enPassantTarget;
void Init();