diff options
Diffstat (limited to 'chess-pos.el')
| -rw-r--r-- | chess-pos.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-pos.el b/chess-pos.el index bfb0353..1f35b45 100644 --- a/chess-pos.el +++ b/chess-pos.el @@ -304,7 +304,8 @@ lowercase to query if black can castle)." (let* ((color (< side ?a)) (long (= ?Q (upcase side))) (file (if long 0 7)) - (king-file (chess-pos-king-index position color)) + (king-file (chess-index-file + (chess-pos-king-index position color))) rook) (while (funcall (if long '< '>) file king-file) (let ((index (chess-rf-to-index (if color 7 0) file))) |
