summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chess-standard.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/chess-standard.el b/chess-standard.el
index 2324ad2..17b2f50 100644
--- a/chess-standard.el
+++ b/chess-standard.el
@@ -69,13 +69,12 @@ case of the PIECE determines color.
The return value is a list of candidates, which means a list of
indices which indicate where a piece may have moved from."
+ ;; jww (2002-04-07): This function is a bit slow
(let* ((color (if (char-valid-p piece)
(< piece ?a)
piece))
(bias (if color -1 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