X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=hachu.c;h=ca7f32d40993280d1c30c5bcd1263d2cb3b192da;hb=df950afb30088935a862f9e0d5194e432de0af5a;hp=ac3ed99499c1e8dff86bd53ba55abe2135642a2b;hpb=c48d4cde08e33ae944ae527b6a3a691c7f7feccc;p=hachu.git diff --git a/hachu.c b/hachu.c index ac3ed99..ca7f32d 100644 --- a/hachu.c +++ b/hachu.c @@ -1612,7 +1612,7 @@ if(PATH) printf("%d:%2d:%2d msp=%d\n",level,depth,iterDep,msp); // MOVE EXTRACTION extractMove: if(flag & depth >= 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