diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-16 20:01:29 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-16 20:01:29 +0000 |
| commit | ae285cb6585e5c10df9bf4bc55e3e9f36b1f360a (patch) | |
| tree | 13c2fd93df0985f23db28aa17b3e39aa6bcfadcf /chess-ics.el | |
| parent | 42fa3e2459a26b31043afdcbed10a411d08d98db (diff) | |
(chess-ics12-parse): Was relying on a variable that wasn't set!
Diffstat (limited to 'chess-ics.el')
| -rw-r--r-- | chess-ics.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-ics.el b/chess-ics.el index 3691ade..aad839d 100644 --- a/chess-ics.el +++ b/chess-ics.el @@ -69,8 +69,8 @@ who is black." (let ((index (string-to-number (car parts)))) (when (> index 0) (chess-pos-set-en-passant - position (chess-rf-to-index (if (string= (car parts) "W") 4 3) - index)))) + position (chess-rf-to-index + (if (chess-pos-side-to-move position) 4 3) index)))) (setq parts (cdr parts)) ;; can White still castle short? (0=no, 1=yes) |
