From fc35dc2b6c259ac6119b013d9391b4db10368635 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 3 Nov 2014 21:56:29 +0100 Subject: [PATCH] Let Clear Board respect DarkSquares Usually we will clear the board to set up a new position. Not to redesign the board shape. --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index bdafe3d..f7b8fd4 100644 --- a/backend.c +++ b/backend.c @@ -15121,7 +15121,7 @@ EditPositionMenuEvent (ChessSquare selection, int x, int y) AAA + x, ONE + y); SendToICS(buf); } - } else { + } else if(boards[0][y][x] != DarkSquare) { if(boards[0][y][x] != p) nonEmpty++; boards[0][y][x] = p; } -- 1.7.0.4