Browse Source

Fehlerbehebung in der Generatefield-Methode

main
fdai7037 2 years ago
parent
commit
7020c22559
  1. 2
      src/Paper-Bin.c

2
src/Paper-Bin.c

@ -231,7 +231,7 @@ void Generatefield() {
tmp /= 10; tmp /= 10;
field[10][1] = '0' + tmp % 10; field[10][1] = '0' + tmp % 10;
field[3][1] = lifeCount < 3 ? 'X' : 'O';
field[1][1] = lifeCount < 1 ? 'X' : 'O';
field[2][1] = lifeCount < 2 ? 'X' : 'O'; field[2][1] = lifeCount < 2 ? 'X' : 'O';
field[3][1] = lifeCount < 3 ? 'X' : 'O'; field[3][1] = lifeCount < 3 ? 'X' : 'O';

Loading…
Cancel
Save