X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=f231bc081d326d6dbd0acecfd98bd075b8dd61a1;hb=e946eab7f34bda5aa1bb329d23490a0d724f1ce1;hp=7243ee73b0fb26fb80ea881833415ec0c986eac8;hpb=ce2d35a73b69934537eb45682a45eda2b8f24b1a;p=xboard.git diff --git a/backend.c b/backend.c index 7243ee7..f231bc0 100644 --- a/backend.c +++ b/backend.c @@ -9766,6 +9766,7 @@ FakeBookMove: // [HGM] book: we jump here to simulate machine moves after book h [AS] Protect the thinkOutput buffer from overflow... this is only useful if buf1 hasn't overflowed first! */ + if((gameMode == AnalyzeMode && appData.whitePOV || appData.scoreWhite) && !WhiteOnMove(forwardMostMove)) curscore *= -1; if(curscore >= MATE_SCORE) snprintf(score_buf, MSG_SIZ, "#%d", curscore - MATE_SCORE); else if(curscore <= -MATE_SCORE)