From df07b4399d21c409ccae934c0a20cab28b93a6ce Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 3 Feb 2025 19:09:13 +0100 Subject: [PATCH] minor fix --- cpp/src/move.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/src/move.hpp b/cpp/src/move.hpp index 25dda12..7bb985d 100644 --- a/cpp/src/move.hpp +++ b/cpp/src/move.hpp @@ -1,6 +1,7 @@ #pragma once #include "castle_side.hpp" +#include "pieces/piece.hpp" #include @@ -11,5 +12,5 @@ struct Move { bool is_capturing = false; CastleSide castle_side = CastleSide::NeitherSide; bool en_passant = false; - int8_t promoting_to = 0; + int8_t promoting_to = Piece::None; };