add pos_copy(); pos->king[] set at higher level

This commit is contained in:
2024-05-16 07:16:17 +02:00
parent 5db45a760a
commit 2069d6073d
7 changed files with 91 additions and 20 deletions

View File

@@ -93,7 +93,7 @@ key_t zobrist_calc(pos_t *pos)
*
* @return: True if Zobrist key is OK.
*/
#ifdef DEBUG_HASH
#ifdef ZOBRIST_VERIFY
bool zobrist_verify(pos_t *pos)
{
key_t diff, key = zobrist_calc(pos);