Fix num_pack

This commit is contained in:
jl777
2019-02-17 23:52:07 -11:00
parent eff9ec93e2
commit 2e1e7f8c7b

View File

@@ -252,7 +252,10 @@ int32_t num_packitems()
THING *list = pack;
int32_t type = 0,n = 0;
for (; list != NULL; list = next(list))
n++;
{
if (!list->o_packch)
n++;
}
return(n);
}