X-Git-Url: http://winboard.nl/cgi-bin?p=bonanza.git;a=blobdiff_plain;f=root.c;h=104c4f737ebe6f16479cc0e9cf2e1b4b82cd5fed;hp=e778431f11ce8ca770fe47b59adacf11e9741a17;hb=796705fb0dd6391c4d0ad8a637eeefa405425bb0;hpb=5ad93f2f24a2644dbb483531ea36e1e21997b6a6 diff --git a/root.c b/root.c index e778431..104c4f7 100644 --- a/root.c +++ b/root.c @@ -211,6 +211,13 @@ read_rest_list( tree_t * restrict ptree, unsigned int * restrict pmove_list ) int iret, imove; char a[65536]; + if ( analyze_mode ) { // [HGM] exclude: in analyze mode we use the interactively updated list in stead of the file + for ( imove = 0; imove < MAX_LEGAL_MOVES && exclude_list[imove]; imove++ ) + pmove_list[imove] = exclude_list[imove]; + pmove_list[imove] = 0; + return 0; + } + pf = file_open( "restraint.dat", "r" ); if ( pf == NULL ) { return -2; }