X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=blobdiff_plain;f=backend.c;h=6cba81545d475c4eb0d54001d46e7fa9009d9286;hp=9e70440a3e0b219e065fbbd66377c0cd11589a50;hb=414a2914d0c5fd2ac5ee27f514346716f1b892b2;hpb=08b791a1526fb669916eec752752f1cbb0582de1 diff --git a/backend.c b/backend.c index 9e70440..6cba815 100644 --- a/backend.c +++ b/backend.c @@ -4557,7 +4557,6 @@ InitPosition(redraw) oldh = gameInfo.holdingsWidth, oldv = gameInfo.variant; - currentMove = forwardMostMove = backwardMostMove = 0; if(appData.icsActive) shuffleOpenings = FALSE; // [HGM] shuffle: in ICS mode, only shuffle on ICS request /* [AS] Initialize pv info list [HGM] and game status */ @@ -8281,6 +8280,7 @@ Reset(redraw, init) gameMode = BeginningOfGame; ModeHighlight(); if(appData.icsActive) gameInfo.variant = VariantNormal; + currentMove = forwardMostMove = backwardMostMove = 0; InitPosition(redraw); for (i = 0; i < MAX_MOVES; i++) { if (commentList[i] != NULL) {