@ -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++)