From f4cf1e6904e7b36fc4681c6829ed53664896fa33 Mon Sep 17 00:00:00 2001 From: hugomanipoud2 Date: Fri, 23 May 2025 10:32:17 +0200 Subject: [PATCH] =?UTF-8?q?bug=20de=20parenthese=20avec=20short=20castle?= =?UTF-8?q?=20black,=20rectifi=C3=A9=20et=20marche?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OOP_3B5_Project/src/backend/Move.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OOP_3B5_Project/src/backend/Move.java b/OOP_3B5_Project/src/backend/Move.java index cbd1099..7224b3a 100644 --- a/OOP_3B5_Project/src/backend/Move.java +++ b/OOP_3B5_Project/src/backend/Move.java @@ -375,7 +375,7 @@ public boolean isKingMoveValid(int x, int y, boolean color, int selectX, int se if ((selectX == x - 3 && selectY == y)) { return specialMoves.bShortCastleHighlight(myPiece); - }else if ((selectX == x + 4 && selectY == y)) { + }else if ((selectX == x + 4 && selectY == y)) { return specialMoves.bLongCastleHighlight(myPiece); } }