summaryrefslogtreecommitdiff
path: root/chess-none.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-14 23:17:48 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-14 23:17:48 +0000
commit4f7271d9ea4f82eb316b05a54bac9030d1127c8e (patch)
tree2bc9aca9e184f57a83ee74a68c97aca261cbc7c2 /chess-none.el
parentdb5b94f367aebaeb019b46b2e2feb9f366d5d964 (diff)
*** no comment ***
Diffstat (limited to 'chess-none.el')
-rw-r--r--chess-none.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/chess-none.el b/chess-none.el
index 5494cf1..104d524 100644
--- a/chess-none.el
+++ b/chess-none.el
@@ -12,9 +12,10 @@ This is only useful when two humans are playing each other, in which
case this engine will do the job of accepting undos, handling
resignations, etc."
(cond
+ ((eq event 'initialize) t)
+
((memq event '(resign abort))
- (chess-engine-set-position nil)
- t)
+ (chess-engine-set-position nil))
((eq event 'undo)
(chess-game-undo chess-engine-game (car args)))))