From: H.G. Muller Date: Sat, 19 Jan 2013 16:41:03 +0000 (+0100) Subject: Add debug printf in ParseMove X-Git-Tag: 0.18~64 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=5ec3e1a2db2f2cdbb5b2613294b61b77b8f4c564;p=hachu.git Add debug printf in ParseMove --- diff --git a/hachu.c b/hachu.c index b00538a..8a92ee5 100644 --- a/hachu.c +++ b/hachu.c @@ -1990,6 +1990,7 @@ MapFromScratch(attacks); if((moveStack[i] & (PROMOTE | DEFER-1)) == ret) break; if((moveStack[i] & DEFER-1) == ret) deferred = i; // promoted version of entered non-promotion is legal } +printf("# moveNr = %d in {%d,%d}\n", i, retFirst, retMSP); if(i>=retMSP) { // no exact match if(deferred) { // but maybe non-sensical deferral int flags = p[board[f]].promoFlag;