From: H.G. Muller Date: Wed, 29 Jun 2011 11:29:38 +0000 (+0200) Subject: Don't one-click move when legality testing is off X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=032d54fca16e97724ff45cf5a286346cb6860484;p=xboard.git Don't one-click move when legality testing is off --- diff --git a/backend.c b/backend.c index b914fe4..b5e5830 100644 --- a/backend.c +++ b/backend.c @@ -6300,7 +6300,7 @@ OKToStartUserMove(x, y) Boolean OnlyMove(int *x, int *y, Boolean captures) { DisambiguateClosure cl; - if (appData.zippyPlay) return FALSE; + if (appData.zippyPlay || !appData.testLegality) return FALSE; switch(gameMode) { case MachinePlaysBlack: case IcsPlayingWhite: