From 554e685e6c47d5e6c7baff69304d89064a0f49b7 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Tue, 10 Apr 2018 18:07:23 +0200 Subject: [PATCH] Fix taking back of moves The loop over game history to remake the moves upto the desired position was incrementing moveNr, but the RootMakeMove() it called already did that too. With as a result that only white moves were replayed. --- dropper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dropper.c b/dropper.c index 3730022..6f12051 100644 --- a/dropper.c +++ b/dropper.c @@ -1718,7 +1718,7 @@ TakeBack (int n) int last; stm = Setup(NULL); // uses FEN saved during previous Setup last = moveNr - n; if(last < 0) last = 0; - for(moveNr=0; moveNr