fix2
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 21 Mar 2016 22:39:40 +0000 (23:39 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 29 Mar 2016 14:51:33 +0000 (16:51 +0200)
winboard/winboard.c

index 89cb828..e4b8692 100644 (file)
@@ -10102,12 +10102,12 @@ again:
   animInfo.piece = piece;\r
   for (n = 0; n < nFrames; n++) {\r
     animInfo.pos = frames[n];\r
-    DrawPosition(FALSE, NULL);\r
+    DrawPosition(FALSE, board);\r
     animInfo.lastpos = animInfo.pos;\r
     Sleep(appData.animSpeed);\r
   }\r
   animInfo.pos = finish;\r
-  DrawPosition(FALSE, NULL);\r
+  DrawPosition(FALSE, board);\r
 \r
   if(toX == x2 && toY == kill2Y) {\r
     fromX = toX; fromY = toY; toX = killX; toY = killY; x2 = -1;\r