diff options
Diffstat (limited to 'chess-standard.el')
| -rw-r--r-- | chess-standard.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chess-standard.el b/chess-standard.el index 68c207c..165cdce 100644 --- a/chess-standard.el +++ b/chess-standard.el @@ -73,6 +73,8 @@ indices which indicate where a piece may have moved from." (< piece ?a)) -1 1)) (c (= bias -1)) p pos candidates) + ;; jww (2002-04-07): Don't return candidates that leave the king + ;; in check. (cond ;; if the piece is `t', it means to find the candidates resulting ;; from any piece movement. This is useful for testing whether a |
