diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-01-30 13:14:58 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-01-30 13:14:58 +0100 |
| commit | f42a6ac20b9f14fd391269cd90606d91a592b2f1 (patch) | |
| tree | a432460e6f16da333d66a8b49c773edea1687aab /src/ChessArbiter.cpp | |
| parent | 159d5334128ff0bb90a8e4e85739dc8bc44baad8 (diff) | |
Cleaning code
Diffstat (limited to 'src/ChessArbiter.cpp')
| -rw-r--r-- | src/ChessArbiter.cpp | 1 |
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); |
