summaryrefslogtreecommitdiff
path: root/chess-sound.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-sound.el')
-rw-r--r--chess-sound.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/chess-sound.el b/chess-sound.el
index 1740261..08b2f7f 100644
--- a/chess-sound.el
+++ b/chess-sound.el
@@ -91,6 +91,8 @@
(chess-sound (format "%c_" (downcase t-piece)))
(chess-sound (chess-index-to-coord target))))
+ (if (chess-ply-keyword ply :en-passant)
+ (chess-sound "enpassant"))
(if (chess-ply-keyword ply :check)
(chess-sound "+_"))
(if (chess-ply-keyword ply :checkmate)