lowercase move flags macros

This commit is contained in:
2024-03-17 17:33:48 +01:00
parent db38b507ff
commit 49302c7a60
4 changed files with 26 additions and 24 deletions

View File

@@ -79,7 +79,7 @@ bool pseudo_is_legal(const pos_t *pos, const move_t move)
* 5th relative rank. To do so, we create an occupation bb without
* the 2 pawns.
*/
if (IS_CAPTURE(move) && PIECE(pos->board[to]) == EMPTY) {
if (is_capture(move) && PIECE(pos->board[to]) == EMPTY) {
/* from rank bitboard */
bitboard_t rank5 = bb_sqrank[from];
/* enemy rooks/queens on from rank */