diff --git a/ProjectBomber/ProjectBomber/PlanesGenericCollection.cs b/ProjectBomber/ProjectBomber/PlanesGenericCollection.cs index 2f82386..e2df145 100644 --- a/ProjectBomber/ProjectBomber/PlanesGenericCollection.cs +++ b/ProjectBomber/ProjectBomber/PlanesGenericCollection.cs @@ -111,7 +111,6 @@ namespace ProjectBomber.Generics Pen pen = new Pen(Color.Black, 3); int numColumns = pictureWidth / _placeSizeWidth; int numRows = pictureHeight / _placeSizeHeight; - for (int i = 0; i <= numColumns; i++) { for (int j = 0; j <= numRows; ++j) @@ -121,7 +120,6 @@ namespace ProjectBomber.Generics int y = j * _placeSizeHeight; g.DrawLine(pen, x, y, x + _placeSizeWidth / 2, y); } - g.DrawLine(pen, i * _placeSizeWidth, 0, i * _placeSizeWidth, numRows * _placeSizeHeight); } }