diff --git a/OOP_3B5_Project/src/backend/Move.java b/OOP_3B5_Project/src/backend/Move.java index af989ff..875eed4 100644 --- a/OOP_3B5_Project/src/backend/Move.java +++ b/OOP_3B5_Project/src/backend/Move.java @@ -367,7 +367,7 @@ public boolean isKingMoveValid(int x, int y, boolean color, int selectX, int se if (selectX == x + 1 && selectY == y) { return checkColor(x, y, color); } - if (color == true) { + if (color == true) { // for white king if ((selectX == x - 3 && selectY == y)) { return specialMoves.shortCastle(myPiece);