From 0f9a523370075ec64b3c0acd040926fdb0de7938 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 4 Aug 2026 08:54:02 +0200 Subject: fix --- src/board/board.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/board/board.cpp b/src/board/board.cpp index ab00e4a..9fa986d 100644 --- a/src/board/board.cpp +++ b/src/board/board.cpp @@ -165,7 +165,6 @@ UndoMove MakeMove(Move move, Game *g) { } } - // this part was written by ai if (piece.type == ROOK) { if (piece.color) { // White if (move.From.rank == 0 && move.From.file == 0) { // a1 @@ -185,7 +184,7 @@ UndoMove MakeMove(Move move, Game *g) { } } - // this part is also written with ai + // this part is written with ai if (piece2.type == ROOK) { if (piece2.color) { // White rook captured if (move.To.rank == 0 && move.To.file == 0) // a1 -- cgit v1.2.3