X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=board.c;h=6abbabbe758595549b3b06087cc03814d0e184ef;hb=06b933aec31c7eafe287731d4ec8e3ba9de6ec81;hp=96cbd7b8b5a061c3cddf991441c7dc60451042a9;hpb=18f63518ed5d7c91bcaf737924e6ccf31ad3e0d4;p=xboard.git diff --git a/board.c b/board.c index 96cbd7b..6abbabb 100644 --- a/board.c +++ b/board.c @@ -96,6 +96,7 @@ extern char *getenv(); #include "common.h" #include "frontend.h" #include "backend.h" +#include "xboard2.h" #include "moves.h" #include "board.h" #include "draw.h" @@ -582,6 +583,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 +641,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