From 032d54fca16e97724ff45cf5a286346cb6860484 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 29 Jun 2011 13:29:38 +0200 Subject: [PATCH] Don't one-click move when legality testing is off --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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: -- 1.7.0.4