fixed bug reported in WB forum: second game of a match would not start when using...
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 20 Oct 2009 00:59:43 +0000 (17:59 -0700)
committerArun Persaud <arun@nubati.net>
Tue, 20 Oct 2009 00:59:43 +0000 (17:59 -0700)
backend.c

index bf1a32c..756641c 100755 (executable)
--- a/backend.c
+++ b/backend.c
@@ -10930,7 +10930,9 @@ TwoMachinesEvent P((void))
 
        strcpy(bookMove, "move ");
        strcat(bookMove, bookHit);
-       HandleMachineMove(bookMove, &first);
+       savedMessage = bookMove; // args for deferred call
+       savedState = onmove;
+       ScheduleDelayedEvent(DeferredBookMove, 1);
     }
 }