From 07ccc35004e09874a5da12ef2d5826edd7621837 Mon Sep 17 00:00:00 2001 From: VirBiuM Date: Mon, 25 Mar 2024 00:15:31 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BB=D0=BE=D0=B3=D0=B8=D0=BA=D1=83=20=D0=B4=D0=BE?= =?UTF-8?q?=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=81=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=BB=D0=B5=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectAirFighter/CollectionGenericObjects/PlaneHangar.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectAirFighter/ProjectAirFighter/CollectionGenericObjects/PlaneHangar.cs b/ProjectAirFighter/ProjectAirFighter/CollectionGenericObjects/PlaneHangar.cs index d485324..eeba5e8 100644 --- a/ProjectAirFighter/ProjectAirFighter/CollectionGenericObjects/PlaneHangar.cs +++ b/ProjectAirFighter/ProjectAirFighter/CollectionGenericObjects/PlaneHangar.cs @@ -50,7 +50,7 @@ public class PlaneHangar : AbstractCompany curHeight = 0; curWidth++; } - if (curWidth > width) + if (curWidth > width - 1) { return; }