From 5fc6127768aaf96f59be69359e229dacbd2f44f7 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Tue, 22 Mar 2016 20:59:51 +0100 Subject: [PATCH] Fix erasing and exposing of arrow on secondary board For the second board the damage flags set for exposing a freshly drawn arrow are left for the next draw to erase that arrow again. --- board.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board.c b/board.c index 7b3535a..30cea29 100644 --- a/board.c +++ b/board.c @@ -1043,7 +1043,7 @@ DrawPosition (int repaint, Board board) SquareExpose(i, j, lineGap); else SquareExpose(i, j, 0); - damage[nr][i][j] = 0; + if(nr == 0) damage[nr][i][j] = 0; // on auxiliary board we retain arrow damage } } -- 1.7.0.4