From ac3b6111accdda18352debad8c380a734d3f932d Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 8 May 2011 17:07:18 +0200 Subject: [PATCH] Let ParsePV always generate SAN move --- backend.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/backend.c b/backend.c index fa46773..bf89ee3 100644 --- a/backend.c +++ b/backend.c @@ -5299,14 +5299,12 @@ fprintf(debugFP,"parsePV: %d %c%c%c%c yy='%s'\nPV = '%s'\n", valid, fromX+AAA, f moveList[endPV-1][3] = toY + ONE; moveList[endPV-1][4] = promoChar; moveList[endPV-1][5] = NULLCHAR; + CoordsToComputerAlgebraic(fromY, fromX, toY, toX, promoChar, moveList[endPV - 1]); strncat(moveList[endPV-1], "\n", MOVE_LEN); - if(storeComments) - CoordsToAlgebraic(boards[endPV - 1], + CoordsToAlgebraic(boards[endPV - 1], PosFlags(endPV - 1), fromY, fromX, toY, toX, promoChar, parseList[endPV - 1]); - else - parseList[endPV-1][0] = NULLCHAR; } while(valid); currentMove = (atEnd || endPV == forwardMostMove) ? endPV : forwardMostMove + 1; if(currentMove == forwardMostMove) ClearPremoveHighlights(); else -- 1.7.0.4