From: H.G. Muller Date: Fri, 20 Dec 2013 12:07:52 +0000 (+0100) Subject: Fix force mode after setboard X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=refs%2Fheads%2Fcygwin;p=bonanza.git Fix force mode after setboard --- diff --git a/proce.c b/proce.c index a17a5de..81707f9 100644 --- a/proce.c +++ b/proce.c @@ -304,7 +304,7 @@ Out("# command = '%s'\n", line); IF("analyze") { return 0; } IF("exit") { return 0; } IF("variant") { /* ignore, since it must be Shogi */; } - IF("setboard") { forceMode = plyNr = 0; read_fen( line ); return 0; } + IF("setboard") { forceMode = 1; plyNr = 0; read_fen( line ); return 0; } IF("option") { if(sscanf(line+7, "MultiPV=%d", &value) == 1) { sprintf(line, "mpv num %d", value); return 0; } if(sscanf(line+7, "centi-Pawn margin=%d", &value) == 1) { sprintf(line, "mpv width %d", value); return 0; }