X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=hachu.c;h=ca7f32d40993280d1c30c5bcd1263d2cb3b192da;hb=df950afb30088935a862f9e0d5194e432de0af5a;hp=2af2697e14d3a618eced449ce5947bba7e050f29;hpb=f70407bdade278fd65c3b4c1829168a38b56b101;p=hachu.git diff --git a/hachu.c b/hachu.c index 2af2697..ca7f32d 100644 --- a/hachu.c +++ b/hachu.c @@ -789,7 +789,8 @@ Init (int var) // piece-square tables for(i=0; i= 0) printf("%2d:%d extract %d/%d\n", depth, iterDep, curMove, msp); - if(curMove < sorted) { + if(curMove > sorted) { move = moveStack[sorted=j=curMove]; for(i=curMove+1; i move) move = moveStack[j=i]; // search move with highest priority