summaryrefslogtreecommitdiff
path: root/chess-game.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-26 03:27:40 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-26 03:27:40 +0000
commit0e302a828c7e79491b5055cbeb0d8879cc3d8558 (patch)
tree3b666f8db828ec78a449e2cad38a328c190a1985 /chess-game.el
parent738ff9a3b57b5e317e086a9ee4878fbb45f24b3e (diff)
fixes
Diffstat (limited to 'chess-game.el')
-rw-r--r--chess-game.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-game.el b/chess-game.el
index 7c90b38..e5c93b7 100644
--- a/chess-game.el
+++ b/chess-game.el
@@ -203,7 +203,7 @@ This conveys the status of the game at the given index."
(defsubst chess-game-over-p (game)
"Return the position related to GAME's INDEX position."
- (let ((last-ply (car (last game 2))))
+ (let ((last-ply (car (last (nth 3 game) 2))))
(and last-ply (chess-ply-final-p last-ply))))