Browse Source

Werte bei der Anzeige der Windstärke korrigiert

main
David PC Saiz 2 years ago
parent
commit
415f290404
  1. 4
      src/Paper-Bin.c

4
src/Paper-Bin.c

@ -212,10 +212,10 @@ void Generatefield() {
field[2][1] = lifeCount < 2 ? 'X' : 'O';
field[3][1] = lifeCount < 3 ? 'X' : 'O';
if (windForce > 0)
if (windForce != 0)
{
field[19][1] = windForce < 0 ? '<' : '>';
field[20][1] = windForce < 0 ? (windForce * -2 + '0') : (windForce + '0');
field[20][1] = windForce < 0 ? (windForce * -1 + '0') : (windForce + '0');
}
}

Loading…
Cancel
Save