Added const to disable spawning of walls.