bug de parenthese avec short castle black, rectifié et marche

This commit is contained in:
hugomanipoud2 2025-05-23 10:32:17 +02:00
parent f3b9526521
commit f4cf1e6904
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}