summaryrefslogtreecommitdiff
path: root/chess-phalanx.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-12 07:58:22 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-12 07:58:22 +0000
commite66b028def9af45cc545c973255df42c9b90cde1 (patch)
treeb4d7bf33b4aabfee075ff211e3da12456fbeaf70 /chess-phalanx.el
parentcdba8a5aed3bd66e62f348a7064acece342bb68e (diff)
optimizations and bug fixes
Diffstat (limited to 'chess-phalanx.el')
-rw-r--r--chess-phalanx.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-phalanx.el b/chess-phalanx.el
index 2cabeb3..270376d 100644
--- a/chess-phalanx.el
+++ b/chess-phalanx.el
@@ -22,11 +22,11 @@
(function
(lambda ()
(funcall chess-engine-response-handler 'move
- (chess-engine-convert-algebraic (match-string 1))))))
+ (chess-engine-convert-algebraic (match-string 1) t)))))
(cons "Illegal move:\\s-*\\(.*\\)"
(function
(lambda ()
- (signal 'chess-illegal (match-string 1)))))))
+ (error (match-string 1)))))))
(defun chess-phalanx-handler (event &rest args)
(cond