From: H.G. Muller Date: Mon, 11 Jul 2011 18:04:57 +0000 (+0200) Subject: Disable -showTargetSquares in ICS mode X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=0066c71cd8fce5d6db79e9a2d619f684c040ec59;p=xboard.git Disable -showTargetSquares in ICS mode Help like this is considered cheating on FICS, so it is disabled for all 'classical' ICS variants. (For variants eyont Shogi we don't care.) --- diff --git a/backend.c b/backend.c index e73b5c6..91a5fbb 100644 --- a/backend.c +++ b/backend.c @@ -6744,7 +6744,7 @@ void MarkTargetSquares(int clear) { int x, y; - if(!appData.markers || !appData.highlightDragging || + if(!appData.markers || !appData.highlightDragging || appData.icsActive && gameInfo.variant < VariantShogi || !appData.testLegality || gameMode == EditPosition) return; if(clear) { for(x=0; x