summaryrefslogtreecommitdiff
path: root/chess-engine.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-10 01:21:36 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-10 01:21:36 +0000
commit1531a6902ff493adce1d2fe29dfcddcfa9de0ef0 (patch)
tree88ff84536618d92b591511395c06794c619275bf /chess-engine.el
parent0bad9bdd7634f039d5a30cfb19b100bbfe54d18e (diff)
*** no comment ***
Diffstat (limited to 'chess-engine.el')
-rw-r--r--chess-engine.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el
index b4249fe..0644ed2 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -81,7 +81,7 @@
((eq event 'pass)
(if (and (chess-game-get-data (chess-engine-game nil) 'active)
- (= (chess-game-index game) 0))
+ (= (chess-game-index (chess-engine-game nil)) 0))
(message "Your opponent has passed the first move to you"))
t)