X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=board.c;h=533e7fb39cc7bccb2e5446ac5109b6b548afc1ca;hb=e458db4d65d5c54cccda5ee8c51659e882d9b0b4;hp=cb6ae94e5fabb5871074ef46075b1d40a9cfc0aa;hpb=d887d2f82c4e05350c23a7563cf6d5dd3efe04d9;p=xboard.git diff --git a/board.c b/board.c index cb6ae94..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