This commit is contained in:
2025-06-20 23:36:07 +03:30
parent 367db10888
commit 9029818d2a
@@ -1177,7 +1177,8 @@ void ValidateBoxes(
XBoxZone &boxes[],
int barIndex = 0,
int barsLength = 3,
bool forceSorting = false //
bool forceSorting = false,
int maxAllowed = 0 //
)
{
//
@@ -1237,7 +1238,7 @@ void ValidateBoxes(
{
//
iBox.to = to;
//
AddRef(
iBox,
@@ -1257,7 +1258,10 @@ void ValidateBoxes(
{
//
// Sorting ...
SortBoxes(boxes);
SortBoxes(
boxes,
maxAllowed //
);
}
}