From 74153d46cbc0d6d0a1c6d817a6ea93ed143ef21b Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 15 May 2017 14:22:51 +0200 Subject: [PATCH] Record game history All moves played at game level are remembered in the array gameMove[], for the benefit of taking back moves. --- dropper.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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]; -- 1.7.0.4