From: H.G.Muller Date: Tue, 10 Apr 2018 16:07:23 +0000 (+0200) Subject: Fix taking back of moves X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=554e685e6c47d5e6c7baff69304d89064a0f49b7;p=crazywa.git 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. --- 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