CuckooChess: Don't use LMP when alpha or beta is a mate score.

This commit is contained in:
Peter Osterlund
2012-03-04 19:00:09 +00:00
parent 43e0f00175
commit 4f4c1c75e7
5 changed files with 26 additions and 12 deletions

View File

@@ -290,7 +290,7 @@ public class TextIO {
ret.append("O-O-O");
}
} else if (move.from == bKingOrigPos && pos.getPiece(bKingOrigPos) == Piece.BKING) {
// Check white castle
// Check black castle
if (move.to == Position.getSquare(6, 7)) {
ret.append("O-O");
} else if (move.to == Position.getSquare(2, 7)) {