Skip to content

Commit 8d3c450

Browse files
authored
Update movepick.cpp
1 parent 53f80a9 commit 8d3c450

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎movepick.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void orderMoves(chess::Board &board, chess::Movelist &moves, chess::Move ttMove,
1717
if (move == ttMove)
1818
score = 10000;
1919
else if (board.isCapture(move))
20-
score = ((move.typeOf() & EN_PASSANT) == 0
20+
score = ((move.type_of() & EN_PASSANT) == 0
2121
? piece_value(board.at<PieceType>(move.to()))
2222
: piece_value(PAWN)) *
2323
10 -

0 commit comments

Comments
 (0)