X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=fairymax.c;h=c68ca204447e3aef5c51e1fcc8ed10f50a60cadf;hb=a93cdacb82bd916e110d71611754bb9ef9be1e67;hp=e43bd46d0615db30bfb17dc760be8785cfc996ec;hpb=e8d98dbad20864f1311ca82c6f20a4eb95b8dad5;p=fairymax.git diff --git a/fairymax.c b/fairymax.c index e43bd46..c68ca20 100644 --- a/fairymax.c +++ b/fairymax.c @@ -222,7 +222,7 @@ int k,q,l,e,E,z,n; /* (q,l)=window, e=current eval. score, E=e.p. sqr.*/ {if(v+I&&x==K&y==L>==GT) /* if move found */ {Q=-e-i;O=F;LL=L;prom=gt; if(b[y]-u&15)prom=b[y]-=PromPiece, /* under-promotion, correct */ - J+=PromPiece; /* piece & invalidate hash */ + Z+=PromPiece; /* piece & invalidate hash */ a->D=99;a->V=0; /* lock game in hash as draw*/ R-=i/FAC; /*** total captd material ***/ Fifty = t|p<3?0:Fifty+1;