Fix num_pack
This commit is contained in:
@@ -252,7 +252,10 @@ int32_t num_packitems()
|
|||||||
THING *list = pack;
|
THING *list = pack;
|
||||||
int32_t type = 0,n = 0;
|
int32_t type = 0,n = 0;
|
||||||
for (; list != NULL; list = next(list))
|
for (; list != NULL; list = next(list))
|
||||||
n++;
|
{
|
||||||
|
if (!list->o_packch)
|
||||||
|
n++;
|
||||||
|
}
|
||||||
return(n);
|
return(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user