aboutsummaryrefslogtreecommitdiff
path: root/src/zobrist.cpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-28 19:04:46 +0200
committerAdam <adammegarules1@gmail.com>2026-07-28 19:04:46 +0200
commitccb929172587fbfb8fb000d7992bdbbdac6f53ae (patch)
tree9a273513c50284a20266361b3f5304c539975fe2 /src/zobrist.cpp
parent40e242dc5450e1661c817b0bad8f9748388c278a (diff)
renaming none to none piece
Diffstat (limited to 'src/zobrist.cpp')
-rw-r--r--src/zobrist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zobrist.cpp b/src/zobrist.cpp
index b41b6c6..05d4cf2 100644
--- a/src/zobrist.cpp
+++ b/src/zobrist.cpp
@@ -36,7 +36,7 @@ uint64_t GenerateZobristKey(Game *b) {
for (int square = 0; square < 64; square++) {
Piece p = b->pieces[square];
- if (p.type == NONE)
+ if (p.type == NONEPIECE)
continue;
key ^= PieceKeys[p.color][p.type][square];