X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=board.c;h=67e19cabec7b57b5c01f537f82a1bf6edbe11a03;hb=4d26e737943867522d697d69094e49817c05a51b;hp=d89ff7d3770826976073e06e2f86ba5d61a7704a;hpb=dc665d20f1fa64bcbecc86a640151b329b6a6ccb;p=xboard.git diff --git a/board.c b/board.c index d89ff7d..67e19ca 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