X-Git-Url: http://winboard.nl/cgi-bin?p=uci2wb.git;a=blobdiff_plain;f=UCI2WB.c;h=8e61b41cd095bf9fb7e08db73f5bc2f0aa5e6fa4;hp=f094d10b6b4e06f17da79ce16d6efef3f59c6c8b;hb=4def9a500291c53f4310761baad1308e21e44081;hpb=f26559fcc563015f7049626337121d1b448bfee5 diff --git a/UCI2WB.c b/UCI2WB.c index f094d10..8e61b41 100644 --- a/UCI2WB.c +++ b/UCI2WB.c @@ -327,6 +327,7 @@ Engine2GUI() if(p = strstr(line+4, " currmovenumber ")) sscanf(p+16,"%d", &currNr); if(pv = strstr(line+4, " pv ")) // convert PV info to WB thinking output printf("%3d %6d %6d %10d %s", lastDepth=d, lastScore=s, t, n, Convert(pv+4)); + else if(s == -100000) lastScore = s; // when checkmated score is valid even without PV (which might not come) } } else if(!strcmp(command, "option")) { // USI option: extract data fields