X-Git-Url: http://winboard.nl/cgi-bin?p=bonanza.git;a=blobdiff_plain;f=debug.c;h=9132c6c8bf6422422ec1a29996a0cfd11ec87624;hp=d18b86fb45c4465ce7f505bbe1b73f83d105ed9e;hb=31daebfc1031441aa180e3af2e547a8cd2b92c32;hpb=18b507e1b20fc6c32ee50f00fb910a59110c1a1d diff --git a/debug.c b/debug.c index d18b86f..9132c6c 100644 --- a/debug.c +++ b/debug.c @@ -15,13 +15,13 @@ # define CheckBoard( PIECE, piece ) \ bb = BB_B ## PIECE; \ - while( BBToU( bb ) ) { \ + while( BBTest( bb ) ) { \ sq = FirstOne( bb ); \ Xor( sq, bb ); \ if ( BOARD[sq] != piece ) { DOut( "BB_B" # PIECE ); } \ } \ bb = BB_W ## PIECE; \ - while( BBToU( bb ) ) { \ + while( BBTest( bb ) ) { \ sq = FirstOne( bb ); \ Xor( sq, bb ); \ if ( BOARD[sq] != -piece ) { DOut( "BB_W" # PIECE ); } \