diff --git a/WarmlyShip/WarmlyShip/ShipsGenericCollection.cs b/WarmlyShip/WarmlyShip/ShipsGenericCollection.cs index ffee1a0..8ed358b 100644 --- a/WarmlyShip/WarmlyShip/ShipsGenericCollection.cs +++ b/WarmlyShip/WarmlyShip/ShipsGenericCollection.cs @@ -135,7 +135,9 @@ namespace WarmlyShip.Generics if (ship != null) { int width = _pictureWidth / _placeSizeWidth; - ship.SetPosition((width - 1 - (i % width)) * _placeSizeWidth, i / width * _placeSizeHeight); + ship._pictureWidth = _pictureWidth; + ship._pictureHeight = _pictureHeight; + ship.SetPosition(i % width * _placeSizeWidth, i / width * _placeSizeHeight); ship.DrawTransport(g); } i++;