pod_dup(): duplicate also pieces list

This commit is contained in:
2021-11-15 11:23:37 +01:00
parent f0e1836f2f
commit a28cd5c492
5 changed files with 39 additions and 22 deletions

View File

@@ -44,7 +44,7 @@ typedef struct move_s {
piece_t promotion; /* promoted piece */
move_flags_t flags;
struct list_head list; /* next move */
struct pos_s *pos; /* resulting position */
struct pos_s *newpos; /* resulting position */
} move_t;
pool_t *moves_pool_init();