The undo info is now initialized to a dummy move on a3 rather than a1,
so that the white Q-side castling rules are not immediately spoiled
through suspecting a Rook move.
fen++;
}
- undoInfo.rights = rights;
+ undoInfo.rights = rights; undoInfo.fromSqr = undoInfo.toSqr = undoInfo.captSqr = 44; undoInfo.toPiece = board[44]; // kludge to prevent spoiling of rights
undoInfo.newEval = (stm == WHITE ? pstEval : -pstEval);
undoInfo.newKey = hashKey;