fixed en passant bug

This commit is contained in:
rektdie committed 2025-03-03 22:25:33 +01:00
1 parent 8e26cc1013
commit 00c3be28ba
2 files changed
+6 -5

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@
#include "move.h"
constexpr int nullPieceType = 100;
constexpr int noEPTarget = 100;
class Board {
public:
@@ -26,7 +27,7 @@ public:
int fullMoves = 0;
uint8_t castlingRights = 0;
int enPassantTarget = -1;
int enPassantTarget = noEPTarget;
U64 hashKey = 0ULL;