X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=board.c;h=533e7fb39cc7bccb2e5446ac5109b6b548afc1ca;hb=740a7dd895041cb69873729142d2dcfdb6f03d08;hp=000af832a05fe8e80d1adfd199ea5569b5c13e6f;hpb=a360a8beeeff933c8517413eace57a144362df65;p=xboard.git diff --git a/board.c b/board.c index 000af83..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