From 5ec3e1a2db2f2cdbb5b2613294b61b77b8f4c564 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 19 Jan 2013 17:41:03 +0100 Subject: [PATCH] Add debug printf in ParseMove --- hachu.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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; -- 1.7.0.4