summaryrefslogtreecommitdiff
path: root/chess-ply.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-ply.el')
-rw-r--r--chess-ply.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-ply.el b/chess-ply.el
index a921238..aa2c85c 100644
--- a/chess-ply.el
+++ b/chess-ply.el
@@ -70,10 +70,10 @@
found))
(defsubst chess-ply-source (ply)
- (car (chess-ply-changes)))
+ (car (chess-ply-changes ply)))
(defsubst chess-ply-target (ply)
- (cadr (chess-ply-changes)))
+ (cadr (chess-ply-changes ply)))
(defsubst chess-ply-next-pos (ply)
(apply 'chess-pos-move (chess-pos-copy (chess-ply-pos ply))