From 24165bb5bbde6051b89a7e98fb5ba0acbe7a40ce Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Sun, 2 Feb 2025 23:14:13 +0100 Subject: [PATCH] made comment more accurate --- cpp/src/pieces/pawn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/pieces/pawn.cpp b/cpp/src/pieces/pawn.cpp index 8fae3f6..a206ade 100644 --- a/cpp/src/pieces/pawn.cpp +++ b/cpp/src/pieces/pawn.cpp @@ -42,7 +42,7 @@ std::vector pawn_moves(const Board& b, const Coords xy) { }); } - // -- Promotion + // -- Normal move + promotion bool is_on_starting_rank = my_colour == Colour::White ? xy.y == 1 : xy.y == 6; int max_dy = is_on_starting_rank ? 3 : 2;