diff --git a/Sailboat/Sailboat/BoatsGenericCollection.cs b/Sailboat/Sailboat/BoatsGenericCollection.cs index e5ff477..1aa6f6e 100644 --- a/Sailboat/Sailboat/BoatsGenericCollection.cs +++ b/Sailboat/Sailboat/BoatsGenericCollection.cs @@ -132,6 +132,7 @@ namespace Sailboat.Generics { if (boat != null) { + int width = _pictureWidth / _placeSizeWidth; boat._pictureWidth = _pictureWidth; boat._pictureHeight = _pictureHeight; int width = _pictureWidth / _placeSizeWidth;