for (ci=0;ci<contsp[serhash].max;ci++)
vector<SERIAL> vecContainer = contsp.getData(serial); for (ci=0;ci<vecContainer.size();ci++)
static void decay1(P_ITEM pi, int i){	long serial, serhash, j, multi;	int k, ci;	if (pi->corpse==1)	{		serial=pi->serial;		serhash=serial%HASHMAX;		for (ci=0;ci<contsp[serhash].max;ci++)		{			j=contsp[serhash].pointer[ci];			if( j != -1 )			{				P_ITEM pi_j=MAKE_ITEMREF_LOGGED(i,err);				if (err) continue;				if ((pi_j->contserial==pi->serial) &&					(pi_j->layer!=0x0B)&&(pi_j->layer!=0x10))				{					pi_j->SetContSerial(-1);					pi_j->MoveTo(pi->pos.x, pi->pos.y, pi->pos.z);					for (k=0;k<now;k++)					{						if (perm[k] && inrange2(k, pi_j))						{							senditem(k,j);						}					}				}				if ((pi_j->contserial==pi->serial) &&					(pi_j->free==0)&&					((pi_j->layer==0x0B)||(pi_j->layer==0x10)))				{					Items->DeleItem(j);				}			}		}	}	else	{		if ( pi->multis == -1 )		{			multi = findmulti( pi->pos );			if( multi == -1 )			{				Items->DeleItem(i);			}		}	}}