Исправил логику добавления самолетов
This commit is contained in:
parent
79334e6677
commit
07ccc35004
@ -50,7 +50,7 @@ public class PlaneHangar : AbstractCompany
|
||||
curHeight = 0;
|
||||
curWidth++;
|
||||
}
|
||||
if (curWidth > width)
|
||||
if (curWidth > width - 1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user