fix takeback en passant

This commit is contained in:
Thibault Duplessis 2013-07-26 12:59:25 +02:00
parent 0aab15c762
commit a73e5c9cb6

View file

@ -28,7 +28,7 @@ object Rewind {
turns = rewindedGame.turns,
positionHashes = rewindedHistory.positionHashes mkString,
castles = rewindedHistory.castleNotation,
lastMove = rewindedHistory.lastMove map { case (a, b) a + " " + b },
lastMove = rewindedHistory.lastMove map { case (a, b) a.toString + b.toString },
status =
if (rewindedSituation.checkMate) Status.Mate
else if (rewindedSituation.staleMate) Status.Stalemate