X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=board.c;h=533e7fb39cc7bccb2e5446ac5109b6b548afc1ca;hb=bcf2f5c3aa7c039f0dca16dd6e4e741b7f184ba2;hp=30cea29d4d2352ae944e241b3b3b8161fceba2a4;hpb=5fc6127768aaf96f59be69359e229dacbd2f44f7;p=xboard.git diff --git a/board.c b/board.c index 30cea29..533e7fb 100644 --- a/board.c +++ b/board.c @@ -194,7 +194,7 @@ SetPremoveHighlights (int fromX, int fromY, int toX, int toY) } if (pm2X != toX || pm2Y != toY) { if (pm2X >= 0 && pm2Y >= 0) { - damage[0][pm1Y][pm1X] |= 2; + damage[0][pm2Y][pm2X] |= 2; } } pm1X = fromX; @@ -641,7 +641,7 @@ again: if(Explode(board, fromX, fromY, toX, toY)) { // mark as damaged int i,j; for(i=0; i