From: H.G.Muller Date: Mon, 15 May 2017 12:22:51 +0000 (+0200) Subject: Record game history X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=74153d46cbc0d6d0a1c6d817a6ea93ed143ef21b;p=crazywa.git Record game history All moves played at game level are remembered in the array gameMove[], for the benefit of taking back moves. --- diff --git a/dropper.c b/dropper.c index aa314a3..f8c0a96 100644 --- a/dropper.c +++ b/dropper.c @@ -1634,6 +1634,7 @@ RootMakeMove(int move) // irreversibly adopt incrementally updated values from last move as new starting point MoveStack m; int e = undoInfo.pstEval, checker; + gameMove[moveNr] = move; // remember game undoInfo.pstEval = -undoInfo.newEval; // (like we initialize new Stackframe in daughter node) undoInfo.hashKey = undoInfo.newKey; undoInfo.rights |= spoiler[undoInfo.fromSqr] | spoiler[undoInfo.toSqr];