projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix u64 format for cygwin
[xboard.git]
/
moves.c
diff --git
a/moves.c
b/moves.c
index
8ca57be
..
7835bc9
100644
(file)
--- a/
moves.c
+++ b/
moves.c
@@
-854,7
+854,7
@@
int GenLegal(board, flags, epfile, castlingRights, callback, closure)
}
}
- if(gameInfo.variant == VariantFischeRandom) {
+ if(flags & F_FRC_TYPE_CASTLING) {
/* generate all potential FRC castling moves (KxR), ignoring flags */
/* [HGM] test if the Rooks we find have castling rights */