diff --git a/Liner/Liner/AbstractMap.cs b/Liner/Liner/AbstractMap.cs index 94a906b..942fb3e 100644 --- a/Liner/Liner/AbstractMap.cs +++ b/Liner/Liner/AbstractMap.cs @@ -109,6 +109,10 @@ namespace Liner } while (result); startX = x; startY += _size_y; + if (startY > 100) + { + break; + } } return false; diff --git a/Liner/Liner/FormMap.Designer.cs b/Liner/Liner/FormMap.Designer.cs index 5962354..4e97c18 100644 --- a/Liner/Liner/FormMap.Designer.cs +++ b/Liner/Liner/FormMap.Designer.cs @@ -184,7 +184,7 @@ this.Controls.Add(this.pictureBoxShip); this.Controls.Add(this.statusStrip); this.Name = "FormMap"; - this.Text = "Form1"; + this.Text = "Карта"; ((System.ComponentModel.ISupportInitialize)(this.pictureBoxShip)).EndInit(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout();