projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix acceptance of null-move with legality testing off
[xboard.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index
caaeabd
..
0026207
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-6439,8
+6439,9
@@
void LeftClick(ClickType clickType, int xPix, int yPix)
MarkTargetSquares(0);
DragPieceBegin(xPix, yPix);
}
- return;
}
+ if(x == fromX && y == fromY) return; // if OnlyMove altered (x,y) we go on
+ second = FALSE;
}
// ignore clicks on holdings
if(x < BOARD_LEFT || x >= BOARD_RGHT) return;