fixed en passant bug
This commit is contained in:
1 parent
8e26cc1013
commit
00c3be28ba
2 files changed
+6
-5
No files matched your search
+2
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user