From f42a6ac20b9f14fd391269cd90606d91a592b2f1 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 30 Jan 2022 13:14:58 +0100 Subject: Cleaning code --- src/ChessArbiter.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ChessArbiter.cpp') diff --git a/src/ChessArbiter.cpp b/src/ChessArbiter.cpp index 1d1379d..b2e73b6 100644 --- a/src/ChessArbiter.cpp +++ b/src/ChessArbiter.cpp @@ -133,7 +133,6 @@ bool ChessArbiter::IsAttacked(std::string square, bool by) { for (std::string &m : moves) { std::string src = m.substr(0, 2); std::string dst = m.substr(2, 2); - if (dst == square) { // Pawn do not attack forward Piece p = board.GetPieceAt(src); -- cgit v1.2.3