From 53db61f897996d73ecef4f4d0b8dda44f05f14cf Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 13 Apr 2002 08:58:47 +0000 Subject: added support for highlighting legal plies --- chess-game.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chess-game.el') diff --git a/chess-game.el b/chess-game.el index cae650f..3214eb2 100644 --- a/chess-game.el +++ b/chess-game.el @@ -207,8 +207,7 @@ progress (nil), if it is drawn, resigned, mate, etc." (position (chess-ply-pos ply))) (if (chess-ply-final-p current-ply) (error "Cannot add moves to a completed game")) - (unless (equal position (chess-ply-pos current-ply)) - (error "Positions do not match")) + (assert (equal position (chess-ply-pos current-ply))) (chess-ply-set-changes current-ply changes) (chess-game-add-ply game (chess-ply-create (chess-ply-next-pos current-ply))) -- cgit v1.2.3