Browse Source

Bedingung in getStartPosition korrigiert

main
fdai7103 2 years ago
parent
commit
844c6e5044
  1. 4
      src/Paper-Bin.c

4
src/Paper-Bin.c

@ -51,6 +51,8 @@ int main()
printf("|"); printf("|");
printf("\n"); printf("\n");
} }
getStartPosition();
sleep(1); sleep(1);
} }
@ -59,7 +61,7 @@ int main()
void getStartPosition() void getStartPosition()
{ {
while (Bally == -1)
while (ballX == -1)
{ {
for (int i = 2, j = 0; i <= 20; i += 2, j++) for (int i = 2, j = 0; i <= 20; i += 2, j++)
{ {

Loading…
Cancel
Save