Browse Source

Bedingung für das Zeichnen der Wände Korrigiert

main
fdai7103 2 years ago
parent
commit
50e5479bba
  1. 2
      src/Paper-Bin.c

2
src/Paper-Bin.c

@ -219,7 +219,7 @@ void Generatefield() {
field[20][1] = windForce < 0 ? (windForce * -1 + '0') : (windForce + '0'); field[20][1] = windForce < 0 ? (windForce * -1 + '0') : (windForce + '0');
} }
if (wallX > 0 && wallY > 0 && wallLength == 1)
if (wallX > 0 && wallY > 0 && wallLength > 0)
{ {
for (int i = wallX; i < +wallX + wallLength; i++) for (int i = wallX; i < +wallX + wallLength; i++)
{ {

Loading…
Cancel
Save