summaryrefslogtreecommitdiff
path: root/src/ChessArbiter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChessArbiter.cpp')
-rw-r--r--src/ChessArbiter.cpp1
1 files changed, 0 insertions, 1 deletions
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);