diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 27b4d76..05033ee 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -219,7 +219,7 @@ void Generatefield() { 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++) {