From: H.G. Muller Date: Thu, 11 Oct 2012 17:44:22 +0000 (+0200) Subject: Fix exposure of atomic captures X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=832f0f2bbec7f461722cbe070e2ccfda65670d56;p=xboard.git Fix exposure of atomic captures The grid lines had to be repaired too, so damage marker 2 had to be used. --- diff --git a/board.c b/board.c index 96cbd7b..8b266a2 100644 --- a/board.c +++ b/board.c @@ -582,6 +582,7 @@ AnimateAtomicCapture (Board board, int fromX, int fromY, int toX, int toY) FrameDelay(appData.animSpeed); } board[fromY][toY] = piece; + DrawGrid(); } /* Main control logic for deciding what to animate and how */ @@ -639,11 +640,11 @@ AnimateMove (Board board, int fromX, int fromY, int toX, int toY) if(Explode(board, fromX, fromY, toX, toY)) { // mark as damaged int i,j; for(i=0; i