This commit is contained in:
martinbst 2025-05-07 14:34:48 +02:00
commit c36be23dd8
2 changed files with 1 additions and 1 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -145,7 +145,7 @@ public class JPanelChessBoard extends JPanel {
private void drawPiece(Graphics g, Piece piece) {
g.drawImage(
getChessPieceImageFromType(piece.getType(), piece.isWhite()),
getChessPieceImageFromType(piece.getType(), !piece.isWhite()),
MARGIN+(xCoordFromGame(piece.getX())),
MARGIN+(yCoordFromGame(piece.getY())),
null