0
0
mirror of https://github.com/hufrea/byedpi.git synced 2025-06-29 18:21:14 +00:00

Increase counter after swop

This commit is contained in:
ruti 2025-06-27 13:08:37 +03:00
parent a3a98c72f6
commit ed76be1dad

View File

@ -339,11 +339,12 @@ static int on_trigger(int type, struct poolhd *pool, struct eval *val)
lav->dp_mask |= dp->bit;
}
if ((params.auto_level & AUTO_SORT)
&& !(lav->dp->bit & (cache->dp_mask | uncheked)))
&& !(lav->dp->bit & cache->dp_mask))
{
if (next && lav->dp->pri > next->pri)
if (next && lav->dp->pri > next->pri
&& !(lav->dp->bit & uncheked)) {
swop_groups(lav->dp, next);
else
}
lav->dp->pri++;
}
if (!next) {