summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-11 20:31:59 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-11 20:31:59 +0000
commitd9fa38e7a004dcedb465ca1c97b724146961898c (patch)
treefb0a1630960f68844cc7d49b81a0addd61e2a127 /chess-display.el
parentda048eea32a115c55fc867b32a3030b8a8f7d8c2 (diff)
*** no comment ***
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/chess-display.el b/chess-display.el
index ee8c165..f7584cd 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -653,8 +653,7 @@ Basically, it means we are playing, not editing or reviewing."
(defun chess-display-pass ()
"Pass the move to your opponent. Only valid on the first move."
(interactive)
- (if (and (chess-display-active-p)
- (= 0 (chess-display-index nil)))
+ (if (chess-display-active-p)
(chess-game-run-hooks chess-display-game 'pass)
(ding)))