From: H.G. Muller Date: Fri, 18 Jan 2013 14:05:20 +0000 (+0100) Subject: Improve potential debug print X-Git-Tag: 0.18~79 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=e7217ebb6cd52f5f05a7db5b18db16a28ea0f2da;p=hachu.git Improve potential debug print --- diff --git a/hachu.c b/hachu.c index 38ae201..fbca937 100644 --- a/hachu.c +++ b/hachu.c @@ -1356,7 +1356,7 @@ void GenCapts(int sqr, int victimValue) { // generate all moves that capture the piece on the given square int i, range, att = attacks[2*sqr + stm]; -//printf("GenCapts(%d,%d)\n",sqr,victimValue); +//printf("GenCapts(%c%d,%d) %08x\n",sqr%BW+'a',sqr/BW,victimValue,att); if(!att) return; // no attackers at all! for(i=0; i<8; i++) { // try all rays int x, v, jumper, jcapt=0;