bug de parenthese avec short castle black, rectifié et marche
This commit is contained in:
parent
f3b9526521
commit
f4cf1e6904
|
|
@ -375,7 +375,7 @@ public boolean isKingMoveValid(int x, int y, boolean color, int selectX, int se
|
||||||
if ((selectX == x - 3 && selectY == y)) {
|
if ((selectX == x - 3 && selectY == y)) {
|
||||||
return specialMoves.bShortCastleHighlight(myPiece);
|
return specialMoves.bShortCastleHighlight(myPiece);
|
||||||
|
|
||||||
}else if ((selectX == x + 4 && selectY == y)) {
|
}else if ((selectX == x + 4 && selectY == y)) {
|
||||||
return specialMoves.bLongCastleHighlight(myPiece);
|
return specialMoves.bLongCastleHighlight(myPiece);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue