diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-28 19:04:46 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-28 19:04:46 +0200 |
| commit | ccb929172587fbfb8fb000d7992bdbbdac6f53ae (patch) | |
| tree | 9a273513c50284a20266361b3f5304c539975fe2 /src/zobrist.cpp | |
| parent | 40e242dc5450e1661c817b0bad8f9748388c278a (diff) | |
renaming none to none piece
Diffstat (limited to 'src/zobrist.cpp')
| -rw-r--r-- | src/zobrist.cpp | 2 |
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]; |
