From 388c4cee58c0dabd0a14cf7d66d3237dcf9a655e Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 27 Dec 2011 17:56:07 +0100 Subject: [PATCH] Fix menu grayout after illegal move TheThinkingEnables were not reset to user state after the engine rejected the entered move as illegal. --- backend.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/backend.c b/backend.c index 84692de..d765e81 100644 --- a/backend.c +++ b/backend.c @@ -8359,6 +8359,8 @@ if(appData.debugMode) fprintf(debugFP, "nodes = %d, %lld\n", (int) programStats. parseList[currentMove], _(cps->which)); DisplayMoveError(buf1); DrawPosition(FALSE, boards[currentMove]); + + SetUserThinkingEnables(); return; } if (strncmp(message, "time", 4) == 0 && StrStr(message, "Illegal")) { -- 1.7.0.4