X-Git-Url: http://winboard.nl/cgi-bin?p=polyglot.git;a=blobdiff_plain;f=book.c;h=6a7b1679da6f386ab614a2df76800ac97f806836;hp=9c7e04fa34d73b940a1e057ef43f7596cf9973ca;hb=HEAD;hpb=037f73ac400afcd812f31f9260e6bf8a0ba7ef53 diff --git a/book.c b/book.c index 9c7e04f..6a7b167 100644 --- a/book.c +++ b/book.c @@ -186,6 +186,12 @@ void book_moves(list_t * list, const board_t * board) { if(BookFile==NULL) return; + // null keys are reserved for the header + if(board->key==U64(0x0)) return; + + + + // init list_clear(list);