From 7544aaa4059b41803d81ad419655d149082c9c5d Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 19 Feb 2013 17:48:39 +0100 Subject: [PATCH] Fix repairing of arrow damage The '2' bit in damage[][] to indicate the arrow was erroneously cleared, rather than kept. --- board.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 } } -- 1.7.0.4