From: H.G. Muller Date: Tue, 19 Feb 2013 16:48:39 +0000 (+0100) Subject: Fix repairing of arrow damage X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=7544aaa4059b41803d81ad419655d149082c9c5d;p=xboard.git Fix repairing of arrow damage The '2' bit in damage[][] to indicate the arrow was erroneously cleared, rather than kept. --- diff --git a/board.c b/board.c index 0941fc9..d7c050b 100644 --- a/board.c +++ b/board.c @@ -1029,7 +1029,7 @@ DrawPosition (int repaint, Board board) GraphExpose(currBoard, x - lineGap, y - lineGap, squareSize + 2*lineGap, squareSize + 2*lineGap); else GraphExpose(currBoard, x, y, squareSize, squareSize); - damage[nr][i][j] &= ~2; // remember damage by newly drawn error in '2' bit, to schedule it for erasure next draw + damage[nr][i][j] &= 2; // remember damage by newly drawn error in '2' bit, to schedule it for erasure next draw } }