summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/chess-display.el b/chess-display.el
index 8105664..d19a434 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -124,8 +124,8 @@ See `mode-line-format' for syntax details."
(chess-with-current-buffer display
(chess-display-set-index* nil 1)
(chess-game-set-plies chess-module-game
- (list ply (chess-ply-create
- (chess-ply-next-pos ply))))))
+ (list ply (chess-ply-create*
+ (chess-ply-next-pos ply) t)))))
(defun chess-display-ply (display)
(chess-with-current-buffer display
@@ -920,7 +920,7 @@ Clicking once on a piece selects it; then click on the target location."
(and (> t-piece ?a)
(> s-piece ?a))))
(throw 'message (chess-string 'cannot-mount)))
- (unless (setq ply (chess-ply-create position
+ (unless (setq ply (chess-ply-create position nil
(cadr last-sel)
coord))
(throw 'message (chess-string 'move-not-legal)))