@ -35,5 +35,13 @@ bool istzugerlaubt_Dame(char** Brett, int startX, int startY, int endX, int endY
return false;
}
char endPosition = Brett[endY][endX];
if (player == PLAYER_WHITE && isupper(endPosition))
if (player == PLAYER_BLACK && islower(endPosition))
return true;