projects
/
hachu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bf145af
)
Add debug printf in ParseMove
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 19 Jan 2013 16:41:03 +0000 (17:41 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 19 Jan 2013 16:41:03 +0000 (17:41 +0100)
hachu.c
patch
|
blob
|
history
diff --git
a/hachu.c
b/hachu.c
index
b00538a
..
8a92ee5
100644
(file)
--- a/
hachu.c
+++ b/
hachu.c
@@
-1990,6
+1990,7
@@
MapFromScratch(attacks);
if((moveStack[i] & (PROMOTE | DEFER-1)) == ret) break;
\r
if((moveStack[i] & DEFER-1) == ret) deferred = i; // promoted version of entered non-promotion is legal
\r
}
\r
+printf("# moveNr = %d in {%d,%d}\n", i, retFirst, retMSP);
\r
if(i>=retMSP) { // no exact match
\r
if(deferred) { // but maybe non-sensical deferral
\r
int flags = p[board[f]].promoFlag;
\r