Browse Source

Kleiner Logik Fix, Anton Lohrey

remotes/origin/Läufer-fertig,-Hendrik-Voß
fdai7492 11 months ago
parent
commit
5bcdf4b8ba
  1. 2
      src/Moving.c

2
src/Moving.c

@ -6,7 +6,7 @@
bool istzugerlaubt(char** Brett, int startX, int startY, int endX, int endY, Player player) {
if ((endX > 8 || endY > 8) || (endX < 0 || endY < 0)){
if ((endX >= 8 || endY >= 8) || (endX < 0 || endY < 0)){
return false;
}
if (player == PLAYER_WHITE &&

Loading…
Cancel
Save