summaryrefslogtreecommitdiff
path: root/chess-game.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-03 06:34:25 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-03 06:34:25 +0000
commitc7e39a22fe0a2bc6da7226fcb29f42fc65e08659 (patch)
tree31023cd6824d396b16d1c3960d86f3c78f763018 /chess-game.el
parentbc1b6e4f3789f4401ac5fe9bb9708459648345b0 (diff)
Gnuchess can be played against (up until a pawn take occurs).
Diffstat (limited to 'chess-game.el')
-rw-r--r--chess-game.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/chess-game.el b/chess-game.el
index b321bd1..7e28405 100644
--- a/chess-game.el
+++ b/chess-game.el
@@ -111,8 +111,7 @@ later using the various tag-related methods)."
(unless (chess-game-tag game (car tag))
(chess-game-set-tag game (car tag) (cdr tag))))
(chess-game-add-ply game (chess-ply-create
- (or (and position
- (chess-pos-copy position))
+ (or position
(chess-pos-create))))
(if position
(chess-game-set-tag game "FEN" (chess-pos-to-fen position)))