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

@@ -109,7 +109,7 @@ char *move_str(char *dst, const move_t move, __unused const int flags)
int len;
sprintf(dst, "%s%s%n", sq_to_string(from), sq_to_string(to), &len);
if (IS_PROMOTION(move)) {
if (is_promotion(move)) {
piece_t promoted = move_promoted(move);
sprintf(dst + len, "%s", piece_to_low(promoted));
}