Browse Source

Wändezeichnung in der Konsole korrigiert

main
fdai7037 2 years ago
parent
commit
a684cc35cb
  1. 6
      src/Paper-Bin.c

6
src/Paper-Bin.c

@ -220,7 +220,11 @@ void Generatefield() {
if (wallX > 0 && wallY > 0 && wallLength == 1) if (wallX > 0 && wallY > 0 && wallLength == 1)
{ {
field[wallX][wallY] = '_';
for (int i = wallX; i < +wallX + wallLength; i++)
{
field[i][wallY] = '_';
}
} }
} }

Loading…
Cancel
Save