summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chess-announce.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/chess-announce.el b/chess-announce.el
index 1d962d7..5fb83a7 100644
--- a/chess-announce.el
+++ b/chess-announce.el
@@ -34,6 +34,9 @@ will be announced."
"This display module presents a standard chessboard.
See `chess-display-type' for the different kinds of displays."
(cond
+ ((eq event 'pass)
+ (chess-announce-change-perspective game (not perspective)))
+
((memq event '(move game-over))
(let* ((ply (chess-game-ply game (1- (chess-game-index game))))
(pos (chess-ply-pos ply)))