Checking for rook color when setting castling