From 414a2914d0c5fd2ac5ee27f514346716f1b892b2 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 2 Oct 2009 16:41:12 -0700 Subject: [PATCH] fixed loading of saved games via command line the variables forwardMostMove and backwardMostMove where set to zero at the wrong place. --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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) { -- 1.7.0.4