Browse Source

Die Fehler in der clearField-Methode behoben

main
fdai7037 2 years ago
parent
commit
94d67acbea
  1. 4
      src/Paper-Bin.c

4
src/Paper-Bin.c

@ -171,9 +171,9 @@ void getStartPosition()
void clearField() void clearField()
{ {
for (int i = 0; i <= fieldWidth; i++)
for (int i = 0; i < fieldWidth; i++)
{ {
for (int j = 0; j <= fieldHeigth; j++)
for (int j = 0; j < fieldHeigth; j++)
{ {
field[i][j] = ' '; field[i][j] = ' ';
} }

Loading…
Cancel
Save