From e9468d50717061047e1dbc5817d0f69b12c291c8 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 27 Oct 2010 20:04:01 +0200 Subject: [PATCH] Let -oneClickMove also work in EditGame mode There is really no reason why people that lke one-clcik moves enough to switch them on would not want to use them too when editing a game. This solves a nast inconsistency, as before it used to work in -ncp mode on the _first_ move, as the mode is then BeginningOfGame, and not yet EditGame, and we do want it to work for BeginningOfGame, as this is also the game mode when you start playing as white. --- backend.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/backend.c b/backend.c index ea13ca8..d94da90 100644 --- a/backend.c +++ b/backend.c @@ -5875,6 +5875,8 @@ OnlyMove(int *x, int *y, Boolean captures) { case IcsPlayingBlack: if(WhiteOnMove(currentMove)) return FALSE; break; + case EditGame: + break; default: return FALSE; } -- 1.7.0.4