From 464c88061b108405e7f9032900fc194e81aa0989 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 20 Dec 2013 13:07:52 +0100 Subject: [PATCH] Fix force mode after setboard --- proce.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; } -- 1.7.0.4